File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 6464 if [ "${{ matrix.config.cxx }}" == "g++" ]; then
6565 ./cpp_tests.exe --help
6666 else
67- cd Debug
6867 ./cpp_tests.exe --help
6968 fi
7069 else
7978 if [ "$RUNNER_OS" == "Windows" ]; then
8079 if [ "${{ matrix.config.cxx }}" == "g++" ]; then
8180 ./cpp_tests_tests.exe
82- else
83- cd Debug
81+ else
8482 ./cpp_tests_tests.exe
8583 fi
8684 else
Original file line number Diff line number Diff line change @@ -10,9 +10,12 @@ project(
1010set (CMAKE_CXX_STANDARD 20)
1111
1212if (WIN32 ) # Install dlls in the same directory as the executable on Windows
13- set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} )
14- set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} )
15- set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} )
13+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR} )
14+ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR} )
15+ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR} )
16+ set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR} )
17+ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR} )
18+ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR} )
1619endif ()
1720
1821if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" )
You can’t perform that action at this time.
0 commit comments