File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ endfunction()
2828# @param HEADERS
2929# @param SOURCES
3030# @param DEPENDS
31- # @param PRIVATE_DEPENDS
31+ # @param INTERNAL_DEPENDS
3232# @parms TESTS_SOURCES
3333# @param [LIB_BUILD_INTERFACE="${PROJECT_SOURCE_DIR}/src"] The list of include paths for building
3434# the library and for external projects that link against it via the add_subdirectory() function.
@@ -42,7 +42,7 @@ function(cpp_library)
4242 HEADERS
4343 SOURCES
4444 DEPENDS
45- PRIVATE_DEPENDS
45+ INTERNAL_DEPENDS
4646 TESTS_SOURCES
4747 LIB_BUILD_INTERFACE
4848 )
@@ -90,7 +90,7 @@ function(cpp_library)
9090 PUBLIC
9191 ${arg_cpp_lib_DEPENDS}
9292 PRIVATE
93- ${arg_cpp_lib_PRIVATE_DEPENDS }
93+ ${arg_cpp_lib_INTERNAL_DEPENDS }
9494 )
9595 add_library (${arg_cpp_lib_NAMESPACE} ::${arg_cpp_lib_NAME} ALIAS ${arg_cpp_lib_NAME} )
9696
Original file line number Diff line number Diff line change 1- cpp_library(NAME container NAMESPACE ystdlib TESTS_SOURCES test /test_Array.cpp)
1+ cpp_library(NAME container NAMESPACE ystdlib HEADERS Array.hpp TESTS_SOURCES test /test_Array.cpp)
Original file line number Diff line number Diff line change 11cpp_library(
22 NAME error_handling
33 NAMESPACE ystdlib
4+ HEADERS
5+ ErrorCode.hpp
46 TESTS_SOURCES
57 test /constants.hpp
68 test /test_ErrorCode.cpp
You can’t perform that action at this time.
0 commit comments