updated cmakelists.txt for licesnse

This commit is contained in:
maliakal_d 2021-10-18 11:44:47 +02:00
parent a0ecf056d8
commit ca08cd9ec1
24 changed files with 47 additions and 1 deletions

2
CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
cmake_minimum_required(VERSION 3.12) cmake_minimum_required(VERSION 3.12)
project(slsDetectorPackage) project(slsDetectorPackage)
set(PROJECT_VERSION 6.0.0) set(PROJECT_VERSION 6.0.0)

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
find_package(ROOT CONFIG REQUIRED COMPONENTS Core Gui) find_package(ROOT CONFIG REQUIRED COMPONENTS Core Gui)

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
find_package(Doxygen REQUIRED) find_package(Doxygen REQUIRED)
find_package(Sphinx REQUIRED) find_package(Sphinx REQUIRED)

2
integrationTests/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
# MESSAGE( STATUS "CMAKE_CURRENT_SOURCE_DIR: " ${CMAKE_CURRENT_SOURCE_DIR} ) # MESSAGE( STATUS "CMAKE_CURRENT_SOURCE_DIR: " ${CMAKE_CURRENT_SOURCE_DIR} )
# MESSAGE( STATUS "PROJECT_SOURCE_DIR: " ${PROJECT_SOURCE_DIR} ) # MESSAGE( STATUS "PROJECT_SOURCE_DIR: " ${PROJECT_SOURCE_DIR} )

2
python/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
pybind11_add_module(_slsdet pybind11_add_module(_slsdet
src/main.cpp src/main.cpp

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(using_logger using_logger.cpp) add_executable(using_logger using_logger.cpp)
target_link_libraries(using_logger target_link_libraries(using_logger
slsSupportShared slsSupportShared

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
find_package(TIFF REQUIRED) find_package(TIFF REQUIRED)

2
slsDetectorGui/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOMOC ON)
find_package(Qt4 REQUIRED) find_package(Qt4 REQUIRED)

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(ctbDetectorServer_virtual add_executable(ctbDetectorServer_virtual
slsDetectorFunctionList.c slsDetectorFunctionList.c
../slsDetectorServer/src/slsDetectorServer.c ../slsDetectorServer/src/slsDetectorServer.c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
set(src set(src
slsDetectorFunctionList.c slsDetectorFunctionList.c
../slsDetectorServer/src/slsDetectorServer.c ../slsDetectorServer/src/slsDetectorServer.c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(gotthard2DetectorServer_virtual add_executable(gotthard2DetectorServer_virtual
slsDetectorFunctionList.c slsDetectorFunctionList.c
../slsDetectorServer/src/slsDetectorServer.c ../slsDetectorServer/src/slsDetectorServer.c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(gotthardDetectorServer_virtual add_executable(gotthardDetectorServer_virtual
slsDetectorFunctionList.c slsDetectorFunctionList.c
../slsDetectorServer/src/slsDetectorServer.c ../slsDetectorServer/src/slsDetectorServer.c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(jungfrauDetectorServer_virtual add_executable(jungfrauDetectorServer_virtual
slsDetectorFunctionList.c slsDetectorFunctionList.c
../slsDetectorServer/src/slsDetectorServer.c ../slsDetectorServer/src/slsDetectorServer.c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(moenchDetectorServer_virtual add_executable(moenchDetectorServer_virtual
slsDetectorFunctionList.c slsDetectorFunctionList.c
../slsDetectorServer/src/slsDetectorServer.c ../slsDetectorServer/src/slsDetectorServer.c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
add_executable(mythen3DetectorServer_virtual add_executable(mythen3DetectorServer_virtual
slsDetectorFunctionList.c slsDetectorFunctionList.c
mythen3.c mythen3.c

2
slsDetectorSoftware/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
set(SOURCES set(SOURCES
src/DetectorImpl.cpp src/DetectorImpl.cpp
src/Module.cpp src/Module.cpp

2
slsDetectorSoftware/tests/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
target_sources(tests PRIVATE target_sources(tests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/test-SharedMemory.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-SharedMemory.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test-slsDetector.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-slsDetector.cpp

2
slsReceiverSoftware/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
set(SOURCES set(SOURCES
src/Implementation.cpp src/Implementation.cpp
src/ClientInterface.cpp src/ClientInterface.cpp

2
slsReceiverSoftware/tests/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
target_sources(tests PRIVATE target_sources(tests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/test-GeneralData.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-GeneralData.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test-CircularFifo.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-CircularFifo.cpp

2
slsSupportLib/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
set(SOURCES set(SOURCES
src/string_utils.cpp src/string_utils.cpp
src/file_utils.cpp src/file_utils.cpp

2
slsSupportLib/tests/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
target_sources(tests PRIVATE target_sources(tests PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/test-bit_utils.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-bit_utils.cpp
${CMAKE_CURRENT_SOURCE_DIR}/test-file_utils.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-file_utils.cpp

2
tests/CMakeLists.txt Executable file → Normal file
View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-3.0-or-other
# Copyright (C) 2021 Contributors to the SLS Detector Package
include_directories( include_directories(
${PROJECT_SOURCE_DIR}/libs/catch ${PROJECT_SOURCE_DIR}/libs/catch
include include

View File

@ -20,7 +20,7 @@ fi
cd $CURRENT cd $CURRENT
for file in $(find $CURRENT -name "*$FILE_TYPE" -not -path "*./build/*" -not -path "*./libs/*"); do for file in $(find $CURRENT -name "$FILE_TYPE" -not -path "*./build/*" -not -path "*./libs/*"); do
prefix="/afs/psi.ch/project/sls_det_software/dhanya_softwareDevelopment/mySoft/slsDetectorPackage/" prefix="/afs/psi.ch/project/sls_det_software/dhanya_softwareDevelopment/mySoft/slsDetectorPackage/"
p=${file#"$prefix"} p=${file#"$prefix"}
echo Processing $p echo Processing $p