refactor: Update CMake build system and streamline Core object serialization and property handling.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
|
||||
set(HEADERS Options.h
|
||||
StaticInterface.h)
|
||||
set(HEADERS Archives.h Array.h Collection.h Debug.h Export.h Function.h Macros.h Mpl.h Object.h Options.h Serializable.h Signal.h Singleton.h SmartPointer.h StaticInterface.h StringReader.h Types.h Uuid.h Vector.h)
|
||||
|
||||
set(SOURCES Options.cpp)
|
||||
set(SOURCES Archives.cpp Debug.cpp Object.cpp Options.cpp Serializable.cpp Signal.cpp Uuid.cpp)
|
||||
|
||||
set(LIBRARIES ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
||||
set(LIBRARIES Boost::program_options)
|
||||
|
||||
set(libname ${PACKAGE_LIBPREFIX}Core)
|
||||
set(ULIB_SHARED_LIBRARIES ${ULIB_SHARED_LIBRARIES} ${libname} PARENT_SCOPE)
|
||||
@@ -23,5 +22,7 @@ install(TARGETS ${libname}
|
||||
|
||||
install(FILES ${HEADERS} DESTINATION ${INSTALL_INC_DIR}/Core)
|
||||
|
||||
|
||||
|
||||
if(BUILD_TESTING)
|
||||
include(uLibTargetMacros)
|
||||
add_subdirectory(testing)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user