added project to CMakeLists and path for installing

This commit is contained in:
Erik Frojdh 2018-12-17 14:55:19 +01:00
parent 659faa9aaa
commit 2dd8093905
2 changed files with 13 additions and 8 deletions

View File

@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
project(slsDetectorPackage LANGUAGES CXX)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
set (CALIBRATE OFF) set (CALIBRATE OFF)

View File

@ -36,20 +36,22 @@ target_link_libraries(slsDetectorShared
zmq zmq
) )
set(PUBLICHEADERS set(PUBLICHEADERS
../slsSupportLib/include/sls_detector_defs.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/sls_detector_defs.h
../slsSupportLib/include/sls_detector_funcs.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/sls_detector_funcs.h
../slsSupportLib/include/error_defs.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/error_defs.h
../slsSupportLib/include/versionAPI.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/versionAPI.h
../slsSupportLib/include/sls_detector_exceptions.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/sls_detector_exceptions.h
../slsSupportLib/include/utilties.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/utilities.h
../slsSupportLib/include/container_utils.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/container_utils.h
sharedMemory/SharedMemory.h sharedMemory/SharedMemory.h
slsDetector/slsDetector.h slsDetector/slsDetector.h
slsDetector/slsDetectorUsers.h slsDetector/slsDetectorUsers.h
slsDetector/detectorData.h slsDetector/detectorData.h
multiSlsDetector/multiSlsDetector.h multiSlsDetector/multiSlsDetector.h
../slsSupportLib/include/ClientInterface.h ${PROJECT_SOURCE_DIR}/slsSupportLib/include/ClientInterface.h
) )
set_target_properties(slsDetectorShared PROPERTIES set_target_properties(slsDetectorShared PROPERTIES
LIBRARY_OUTPUT_NAME SlsDetector LIBRARY_OUTPUT_NAME SlsDetector