Skip to content

Trasition from old to modern cmake in core dir

Omveer_Singh requested to merge om/cbmroot:cmake-dev into master

The transition from old to modern CMake. The modifications are not included in the test directory yet. We will do it later.

Macro is added in "cbmmacros.cmake" CMake module to add a library target for CbmRoot.

In CMakeLists.txt files, unnecessary commands are removed, which operate at a directory level. like include_directories() link_directories() Now operating on the target directory using target_include_directories() target_link_libraries() commands. generating library target using generate_cbm_library() macro provided by us.

Merge request reports