add posibility to compile in build directory

This commit is contained in:
AndreaRigoni
2025-09-04 16:12:38 +02:00
parent 91abd56587
commit 2e401f6fc5
9 changed files with 168 additions and 34 deletions

View File

@@ -1,3 +1,4 @@
set(HEADERS ContainerBox.h
Dense.h
Geometry.h
@@ -45,6 +46,7 @@ set_target_properties(${libname} PROPERTIES
SOVERSION ${PROJECT_SOVERSION})
target_link_libraries(${libname} ${LIBRARIES})
install(TARGETS ${libname}
EXPORT "${PROJECT_NAME}Targets"
RUNTIME DESTINATION ${PACKAGE_INSTALL_BIN_DIR} COMPONENT bin
@@ -52,3 +54,7 @@ install(TARGETS ${libname}
install(FILES ${HEADERS} DESTINATION ${PACKAGE_INSTALL_INC_DIR}/Math)
# TESTING
# include(uLibTargetMacros)
# add_subdirectory(testing)