Skip to content

Commit a5c2e5a

Browse files
committed
don't run in Debug by default. minor formatting and comments
1 parent b4ddea7 commit a5c2e5a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

CMakeLists.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@ endforeach()
2525
# Locate Boost
2626
find_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)
3130
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
3231
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
3332

34-
3533
include_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
4745
set(EXELIST thresholdeffs bwdiv crop stackergen rangefinder sepper mergevars updatedatastore stacker varstocuts eff corr cuttester columnmaker multicolumnmaker tuplesampler tuplescrambler cutapplier)
4846

4947
foreach(exe ${EXELIST})
5048
add_executable(${exe} ${SMPT_SOURCE_DIR}/src/${exe}.cc)
5149
target_link_libraries (${exe} cropsimpletools ${ROOT_LIBRARIES})
5250
endforeach()
5351

54-
52+
# Configure install destination
5553
install(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+

0 commit comments

Comments
 (0)