Skip to content

Set by default 'CMAKE_BUILD_TYPE' to 'Release' only if 'ARCCORE_BUILD_MODE' is not defined #1153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _common/build_all/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ arcane_set_if_unset(ARCANE_WANT_CHECK FALSE BOOL "Compilation with additional ch
set(BUILD_SHARED_LIBS TRUE)

# Compile en release par défaut si rien n'est spécifié
if (NOT DEFINED CMAKE_BUILD_TYPE)
if (NOT DEFINED CMAKE_BUILD_TYPE AND NOT DEFINED ARCCORE_BUILD_MODE)
set(CMAKE_BUILD_TYPE Release)
endif()

Expand Down