Skip to content

Commit

Permalink
Merge pull request #3181 from Jojo-Schmitz/debug
Browse files Browse the repository at this point in the history
make CMAKE_BUILD_TYPE case insensitive
  • Loading branch information
lasconic committed May 24, 2017
2 parents bddc8e4 + db620d8 commit cd19c84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -555,6 +555,7 @@ subdirs(
)
# thirdparty/xmlstream

string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
if (APPLE AND CMAKE_BUILD_TYPE MATCHES "DEBUG")
# With xcode, we need to have all the targets in the same project
add_subdirectory(mtest)
Expand Down
1 change: 1 addition & 0 deletions mscore/CMakeLists.txt
Expand Up @@ -427,6 +427,7 @@ if (MINGW)
${PROJECT_BINARY_DIR}/resfile.o
PROPERTIES generated true
)
string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
# Windows: Add -mconsole to LINK_FLAGS to get a console window for debug output
if(CMAKE_BUILD_TYPE MATCHES "DEBUG")
set_target_properties( mscore
Expand Down

0 comments on commit cd19c84

Please sign in to comment.