We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb09f7 commit b9a4bbfCopy full SHA for b9a4bbf
source/CMakeLists.txt
@@ -132,6 +132,13 @@ add_library(perf perflib/perfhelper.c perflib/perfsslhelper.c perflib/threads.c
132
133
if(WIN32)
134
target_sources(perf PRIVATE perflib/getopt.c perflib/basename.c perflib/err.c)
135
+ #
136
+ # windows release build on github workflow places places .exe files under
137
+ # build\Release. This tweak hopes to place or .exe files under \build
138
+ # for both build types. It did not happen on local Win11 installation.
139
140
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
141
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
142
endif()
143
144
target_include_directories(perf PUBLIC "${PROJECT_SOURCE_DIR}")
0 commit comments