Skip to content

Commit

Permalink
removes Debug flags from Trento's CMakeLists
Browse files Browse the repository at this point in the history
Implements JETSCAPE PR 179 in X-SCAPE.
  • Loading branch information
latessa committed Feb 17, 2024
1 parent 5ffb633 commit 5e8d1de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions external_packages/trento/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
string(APPEND CMAKE_CXX_FLAGS " -Wno-missing-braces -Wno-c++11-narrowing")
endif()

string(APPEND CMAKE_CXX_FLAGS_DEBUG " -Werror")
# This statement prevents JETSCAPE from being built in Debug mode and
# is commented out until a better solution is found.
# string(APPEND CMAKE_CXX_FLAGS_DEBUG " -Werror")

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -Og")
Expand Down Expand Up @@ -188,7 +190,9 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
endif()
endif()

string(APPEND CMAKE_CXX_FLAGS_DEBUG " ${CMAKE_REQUIRED_FLAGS} --coverage")
# This statement prevents JETSCAPE from being built in Debug mode and
# is commented out until a better solution is found.
# string(APPEND CMAKE_CXX_FLAGS_DEBUG " ${CMAKE_REQUIRED_FLAGS} --coverage")

set(LIBRARY_NAME "lib${PROJECT_NAME}")

Expand Down

0 comments on commit 5e8d1de

Please sign in to comment.