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 97aa264 commit acf575cCopy full SHA for acf575c
CMakeLists.txt
@@ -103,6 +103,9 @@ else()
103
message(STATUS "pkg-config not found, so it was not possible to check if libnetconf2 supports ${THREAD_COUNT} threads")
104
endif()
105
106
+# put all binaries into one directory (even from subprojects)
107
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
108
+
109
# source files
110
set(SERVER_SRC
111
src/common.c
cli/CMakeLists.txt
@@ -16,7 +16,6 @@ set(CLI_SRC
16
linenoise/linenoise.c)
17
18
# netopeer2-cli target
19
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
20
add_executable(netopeer2-cli ${CLI_SRC} $<TARGET_OBJECTS:compat>)
21
22
# reuse server variables
0 commit comments