Skip to content

Commit bff4345

Browse files
committed
Address review concerns
1 parent 16c2883 commit bff4345

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

CMake/ystdlib-cpp-helpers.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
set(CPP_LIB_BUILD_INTERFACE ${YSTDLIB_CPP_BUILD_INCLUDE_DIRS})
22
set(CPP_LIB_INSTALL_INTERFACE ${YSTDLIB_CPP_INSTALL_INCLUDE_DIRS})
33

4-
# cpp_library()
5-
#
64
# CMake function for adding C++ libraries with sources, dependencies, and build settings.
75
#
8-
# Parameters:
9-
# NAME: name of the library target
10-
# NAMESPACE: namespace of the library
6+
# @param NAME
7+
# @param NAMESPACE
118
function(cpp_library)
12-
set(options)
9+
set(options "")
1310
set(oneValueArgs
1411
NAME
1512
NAMESPACE
1613
)
17-
set(multiValueArgs)
14+
set(multiValueArgs "")
1815
cmake_parse_arguments(arg_cpp_lib "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
1916

2017
add_library(${arg_cpp_lib_NAME} INTERFACE)

0 commit comments

Comments
 (0)