File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,11 @@ endforeach()
2525# Locate Boost
2626find_package (Boost REQUIRED system )
2727
28- #Check the compiler and set the compile and link flags
29- set (CMAKE_BUILD_TYPE Debug)
30-
28+ # Check the compiler and set the compile and link flags
29+ #set(CMAKE_BUILD_TYPE Debug)
3130set (CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
3231set (CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
3332
34-
3533include_directories (${ROOT_INCLUDE_DIRS} ${SMPT_SOURCE_DIR} /include )
3634
3735# Build one shared lib with all sources
@@ -43,16 +41,17 @@ ${SMPT_SOURCE_DIR}/src/cropcutensemble.cc
4341${SMPT_SOURCE_DIR} /src/cropdatastore.cc
4442)
4543
46-
44+ # List executables and link each of them to the local and ROOT libraries
4745set (EXELIST thresholdeffs bwdiv crop stackergen rangefinder sepper mergevars updatedatastore stacker varstocuts eff corr cuttester columnmaker multicolumnmaker tuplesampler tuplescrambler cutapplier)
4846
4947foreach (exe ${EXELIST} )
5048 add_executable (${exe} ${SMPT_SOURCE_DIR} /src/${exe} .cc)
5149 target_link_libraries (${exe} cropsimpletools ${ROOT_LIBRARIES} )
5250endforeach ()
5351
54-
52+ # Configure install destination
5553install (TARGETS cropsimpletools ${EXELIST}
5654 RUNTIME DESTINATION ${SMPT_SOURCE_DIR} /bin
5755 LIBRARY DESTINATION ${SMPT_SOURCE_DIR} /lib
5856 ARCHIVE DESTINATION ${SMPT_SOURCE_DIR} /lib/static )
57+
You can’t perform that action at this time.
0 commit comments