diff --git a/CMakePresets.json b/CMakePresets.json index d3952f1e..3342fbe0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -134,7 +134,8 @@ { "name": "macos-debug", "inherits": [ - "macos-config" + "macos-config", + "debug-config" ], "displayName": "[Debug] MacOS", "description": "Create a debug build using MacOS" @@ -142,7 +143,8 @@ { "name": "macos-release", "inherits": [ - "macos-config" + "macos-config", + "release-config" ], "displayName": "[Release] MacOS", "description": "Create a release build using MacOS" @@ -281,7 +283,7 @@ "configurePreset": "macos-debug", "displayName": "[Debug] MacOS", "description": "Runs all tests on a MacOS configuration", - "configuration": "Release" + "configuration": "Debug" }, { "name": "macos-release", diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 6a0bbaa3..4fb7d30e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -4,9 +4,9 @@ enable_testing() find_package(GoogleTest REQUIRED) include(GoogleTest) -#message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}") +message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin) -#message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}") +message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY = ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}") if(APPLE) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)