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 3299b5c commit 8d42c35Copy full SHA for 8d42c35
CMakeLists.txt
@@ -322,9 +322,10 @@ if ("${BUILD_TYPE_UPPER}" STREQUAL "DEBUG")
322
source_format_enable(0.77)
323
endif()
324
325
-# generate files
+# generate and copy all public header files
326
configure_file(${PROJECT_SOURCE_DIR}/src/ly_config.h.in ${PROJECT_BINARY_DIR}/libyang/ly_config.h @ONLY)
327
configure_file(${PROJECT_SOURCE_DIR}/src/version.h.in ${PROJECT_BINARY_DIR}/libyang/version.h @ONLY)
328
+file(COPY ${headers} DESTINATION ${PROJECT_BINARY_DIR}/libyang)
329
330
# DOC-only target with no extra dependencies
331
if("${BUILD_TYPE_UPPER}" STREQUAL "DOCONLY")
0 commit comments