mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
c99
This commit is contained in:
parent
b3ebce378d
commit
f51c4e1d7c
@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
add_library(slsProjectCWarnings INTERFACE)
|
add_library(slsProjectCSettings INTERFACE)
|
||||||
target_compile_options(slsProjectCWarnings INTERFACE
|
target_compile_features(slsProjectCSettings INTERFACE c_std_99)
|
||||||
|
target_compile_options(slsProjectCSettings INTERFACE
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wno-unused-parameter #Needs to be slowly mitigated
|
-Wno-unused-parameter #Needs to be slowly mitigated
|
||||||
@ -13,7 +14,7 @@ target_compile_options(slsProjectCWarnings INTERFACE
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Install fake the library
|
# Install fake the library
|
||||||
install(TARGETS slsProjectCWarnings
|
install(TARGETS slsProjectCSettings
|
||||||
EXPORT "${TARGETS_EXPORT_NAME}"
|
EXPORT "${TARGETS_EXPORT_NAME}"
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
@ -33,7 +33,7 @@ target_compile_definitions(ctbDetectorServer_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(ctbDetectorServer_virtual
|
target_link_libraries(ctbDetectorServer_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
m
|
m
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ target_compile_definitions(eigerDetectorServerMaster_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(eigerDetectorServerMaster_virtual
|
target_link_libraries(eigerDetectorServerMaster_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(eigerDetectorServerMaster_virtual PROPERTIES
|
set_target_properties(eigerDetectorServerMaster_virtual PROPERTIES
|
||||||
|
@ -28,7 +28,7 @@ target_compile_definitions(gotthard2DetectorServer_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(gotthard2DetectorServer_virtual
|
target_link_libraries(gotthard2DetectorServer_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(gotthard2DetectorServer_virtual PROPERTIES
|
set_target_properties(gotthard2DetectorServer_virtual PROPERTIES
|
||||||
|
@ -27,7 +27,7 @@ target_compile_definitions(gotthardDetectorServer_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(gotthardDetectorServer_virtual
|
target_link_libraries(gotthardDetectorServer_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(gotthardDetectorServer_virtual PROPERTIES
|
set_target_properties(gotthardDetectorServer_virtual PROPERTIES
|
||||||
|
@ -26,7 +26,7 @@ target_compile_definitions(jungfrauDetectorServer_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(jungfrauDetectorServer_virtual
|
target_link_libraries(jungfrauDetectorServer_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(jungfrauDetectorServer_virtual PROPERTIES
|
set_target_properties(jungfrauDetectorServer_virtual PROPERTIES
|
||||||
|
@ -31,7 +31,7 @@ target_compile_definitions(moenchDetectorServer_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(moenchDetectorServer_virtual
|
target_link_libraries(moenchDetectorServer_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
m
|
m
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ target_compile_definitions(mythen3DetectorServer_virtual
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mythen3DetectorServer_virtual
|
target_link_libraries(mythen3DetectorServer_virtual
|
||||||
PUBLIC pthread rt slsProjectCWarnings
|
PUBLIC pthread rt slsProjectCSettings
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(mythen3DetectorServer_virtual PROPERTIES
|
set_target_properties(mythen3DetectorServer_virtual PROPERTIES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user