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 16c2883 commit bff4345Copy full SHA for bff4345
CMake/ystdlib-cpp-helpers.cmake
@@ -1,20 +1,17 @@
1
set(CPP_LIB_BUILD_INTERFACE ${YSTDLIB_CPP_BUILD_INCLUDE_DIRS})
2
set(CPP_LIB_INSTALL_INTERFACE ${YSTDLIB_CPP_INSTALL_INCLUDE_DIRS})
3
4
-# cpp_library()
5
-#
6
# CMake function for adding C++ libraries with sources, dependencies, and build settings.
7
#
8
-# Parameters:
9
-# NAME: name of the library target
10
-# NAMESPACE: namespace of the library
+# @param NAME
+# @param NAMESPACE
11
function(cpp_library)
12
- set(options)
+ set(options "")
13
set(oneValueArgs
14
NAME
15
NAMESPACE
16
)
17
- set(multiValueArgs)
+ set(multiValueArgs "")
18
cmake_parse_arguments(arg_cpp_lib "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
19
20
add_library(${arg_cpp_lib_NAME} INTERFACE)
0 commit comments