From ca08cd9ec1e278884724ad1a2779ee3a0ca9a0c9 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 18 Oct 2021 11:44:47 +0200 Subject: [PATCH] updated cmakelists.txt for licesnse --- CMakeLists.txt | 2 ++ ctbGui/CMakeLists.txt | 2 ++ docs/CMakeLists.txt | 2 ++ integrationTests/CMakeLists.txt | 2 ++ python/CMakeLists.txt | 2 ++ sample/CMakeLists.txt | 2 ++ slsDetectorCalibration/moenchExecutables/CMakeLists.txt | 2 ++ slsDetectorGui/CMakeLists.txt | 2 ++ slsDetectorServers/CMakeLists.txt | 2 ++ slsDetectorServers/ctbDetectorServer/CMakeLists.txt | 2 ++ slsDetectorServers/eigerDetectorServer/CMakeLists.txt | 2 ++ slsDetectorServers/gotthard2DetectorServer/CMakeLists.txt | 2 ++ slsDetectorServers/gotthardDetectorServer/CMakeLists.txt | 2 ++ slsDetectorServers/jungfrauDetectorServer/CMakeLists.txt | 2 ++ slsDetectorServers/moenchDetectorServer/CMakeLists.txt | 2 ++ slsDetectorServers/mythen3DetectorServer/CMakeLists.txt | 2 ++ slsDetectorSoftware/CMakeLists.txt | 2 ++ slsDetectorSoftware/tests/CMakeLists.txt | 2 ++ slsReceiverSoftware/CMakeLists.txt | 2 ++ slsReceiverSoftware/tests/CMakeLists.txt | 2 ++ slsSupportLib/CMakeLists.txt | 2 ++ slsSupportLib/tests/CMakeLists.txt | 2 ++ tests/CMakeLists.txt | 2 ++ updateLicenseNotice.sh | 2 +- 24 files changed, 47 insertions(+), 1 deletion(-) mode change 100755 => 100644 CMakeLists.txt mode change 100755 => 100644 integrationTests/CMakeLists.txt mode change 100755 => 100644 python/CMakeLists.txt mode change 100755 => 100644 slsDetectorGui/CMakeLists.txt mode change 100755 => 100644 slsDetectorSoftware/CMakeLists.txt mode change 100755 => 100644 slsDetectorSoftware/tests/CMakeLists.txt mode change 100755 => 100644 slsReceiverSoftware/CMakeLists.txt mode change 100755 => 100644 slsReceiverSoftware/tests/CMakeLists.txt mode change 100755 => 100644 slsSupportLib/CMakeLists.txt mode change 100755 => 100644 slsSupportLib/tests/CMakeLists.txt mode change 100755 => 100644 tests/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100755 new mode 100644 index bf0415e7d..4db277142 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) project(slsDetectorPackage) set(PROJECT_VERSION 6.0.0) diff --git a/ctbGui/CMakeLists.txt b/ctbGui/CMakeLists.txt index 758d8175d..c6371ea92 100644 --- a/ctbGui/CMakeLists.txt +++ b/ctbGui/CMakeLists.txt @@ -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) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 524c41f93..7f3fa8c04 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -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(Sphinx REQUIRED) diff --git a/integrationTests/CMakeLists.txt b/integrationTests/CMakeLists.txt old mode 100755 new mode 100644 index 5aba78ee0..a270593fe --- a/integrationTests/CMakeLists.txt +++ b/integrationTests/CMakeLists.txt @@ -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 "PROJECT_SOURCE_DIR: " ${PROJECT_SOURCE_DIR} ) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt old mode 100755 new mode 100644 index 8337a811b..21c02761a --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -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 src/main.cpp diff --git a/sample/CMakeLists.txt b/sample/CMakeLists.txt index 98ae46d35..d73e539c5 100644 --- a/sample/CMakeLists.txt +++ b/sample/CMakeLists.txt @@ -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) target_link_libraries(using_logger slsSupportShared diff --git a/slsDetectorCalibration/moenchExecutables/CMakeLists.txt b/slsDetectorCalibration/moenchExecutables/CMakeLists.txt index ba06c276a..cd7cb6182 100644 --- a/slsDetectorCalibration/moenchExecutables/CMakeLists.txt +++ b/slsDetectorCalibration/moenchExecutables/CMakeLists.txt @@ -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) diff --git a/slsDetectorGui/CMakeLists.txt b/slsDetectorGui/CMakeLists.txt old mode 100755 new mode 100644 index 70e8a2e9b..75f4ed2f6 --- a/slsDetectorGui/CMakeLists.txt +++ b/slsDetectorGui/CMakeLists.txt @@ -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) find_package(Qt4 REQUIRED) diff --git a/slsDetectorServers/CMakeLists.txt b/slsDetectorServers/CMakeLists.txt index af46daa94..2bb9386b0 100644 --- a/slsDetectorServers/CMakeLists.txt +++ b/slsDetectorServers/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-other +# Copyright (C) 2021 Contributors to the SLS Detector Package diff --git a/slsDetectorServers/ctbDetectorServer/CMakeLists.txt b/slsDetectorServers/ctbDetectorServer/CMakeLists.txt index fab32df54..181600f44 100644 --- a/slsDetectorServers/ctbDetectorServer/CMakeLists.txt +++ b/slsDetectorServers/ctbDetectorServer/CMakeLists.txt @@ -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 slsDetectorFunctionList.c ../slsDetectorServer/src/slsDetectorServer.c diff --git a/slsDetectorServers/eigerDetectorServer/CMakeLists.txt b/slsDetectorServers/eigerDetectorServer/CMakeLists.txt index 64f1635e1..ae8b9b0ea 100644 --- a/slsDetectorServers/eigerDetectorServer/CMakeLists.txt +++ b/slsDetectorServers/eigerDetectorServer/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-other +# Copyright (C) 2021 Contributors to the SLS Detector Package set(src slsDetectorFunctionList.c ../slsDetectorServer/src/slsDetectorServer.c diff --git a/slsDetectorServers/gotthard2DetectorServer/CMakeLists.txt b/slsDetectorServers/gotthard2DetectorServer/CMakeLists.txt index f1399bf9c..dbe403fd3 100644 --- a/slsDetectorServers/gotthard2DetectorServer/CMakeLists.txt +++ b/slsDetectorServers/gotthard2DetectorServer/CMakeLists.txt @@ -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 slsDetectorFunctionList.c ../slsDetectorServer/src/slsDetectorServer.c diff --git a/slsDetectorServers/gotthardDetectorServer/CMakeLists.txt b/slsDetectorServers/gotthardDetectorServer/CMakeLists.txt index 8dc6bf58a..e2f7eac57 100644 --- a/slsDetectorServers/gotthardDetectorServer/CMakeLists.txt +++ b/slsDetectorServers/gotthardDetectorServer/CMakeLists.txt @@ -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 slsDetectorFunctionList.c ../slsDetectorServer/src/slsDetectorServer.c diff --git a/slsDetectorServers/jungfrauDetectorServer/CMakeLists.txt b/slsDetectorServers/jungfrauDetectorServer/CMakeLists.txt index d5d251e81..b1cd36a13 100644 --- a/slsDetectorServers/jungfrauDetectorServer/CMakeLists.txt +++ b/slsDetectorServers/jungfrauDetectorServer/CMakeLists.txt @@ -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 slsDetectorFunctionList.c ../slsDetectorServer/src/slsDetectorServer.c diff --git a/slsDetectorServers/moenchDetectorServer/CMakeLists.txt b/slsDetectorServers/moenchDetectorServer/CMakeLists.txt index 8a2a02ed6..de0923b87 100644 --- a/slsDetectorServers/moenchDetectorServer/CMakeLists.txt +++ b/slsDetectorServers/moenchDetectorServer/CMakeLists.txt @@ -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 slsDetectorFunctionList.c ../slsDetectorServer/src/slsDetectorServer.c diff --git a/slsDetectorServers/mythen3DetectorServer/CMakeLists.txt b/slsDetectorServers/mythen3DetectorServer/CMakeLists.txt index aee0a6b57..9033f5200 100644 --- a/slsDetectorServers/mythen3DetectorServer/CMakeLists.txt +++ b/slsDetectorServers/mythen3DetectorServer/CMakeLists.txt @@ -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 slsDetectorFunctionList.c mythen3.c diff --git a/slsDetectorSoftware/CMakeLists.txt b/slsDetectorSoftware/CMakeLists.txt old mode 100755 new mode 100644 index 3dbf3fe00..1a6b922f0 --- a/slsDetectorSoftware/CMakeLists.txt +++ b/slsDetectorSoftware/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-other +# Copyright (C) 2021 Contributors to the SLS Detector Package set(SOURCES src/DetectorImpl.cpp src/Module.cpp diff --git a/slsDetectorSoftware/tests/CMakeLists.txt b/slsDetectorSoftware/tests/CMakeLists.txt old mode 100755 new mode 100644 index a17ec4a02..bc65a73e9 --- a/slsDetectorSoftware/tests/CMakeLists.txt +++ b/slsDetectorSoftware/tests/CMakeLists.txt @@ -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 ${CMAKE_CURRENT_SOURCE_DIR}/test-SharedMemory.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-slsDetector.cpp diff --git a/slsReceiverSoftware/CMakeLists.txt b/slsReceiverSoftware/CMakeLists.txt old mode 100755 new mode 100644 index 81b293d7e..e138d8fa5 --- a/slsReceiverSoftware/CMakeLists.txt +++ b/slsReceiverSoftware/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-other +# Copyright (C) 2021 Contributors to the SLS Detector Package set(SOURCES src/Implementation.cpp src/ClientInterface.cpp diff --git a/slsReceiverSoftware/tests/CMakeLists.txt b/slsReceiverSoftware/tests/CMakeLists.txt old mode 100755 new mode 100644 index 37de24395..e1541a724 --- a/slsReceiverSoftware/tests/CMakeLists.txt +++ b/slsReceiverSoftware/tests/CMakeLists.txt @@ -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 ${CMAKE_CURRENT_SOURCE_DIR}/test-GeneralData.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-CircularFifo.cpp diff --git a/slsSupportLib/CMakeLists.txt b/slsSupportLib/CMakeLists.txt old mode 100755 new mode 100644 index cdf4af737..efa8010fc --- a/slsSupportLib/CMakeLists.txt +++ b/slsSupportLib/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-other +# Copyright (C) 2021 Contributors to the SLS Detector Package set(SOURCES src/string_utils.cpp src/file_utils.cpp diff --git a/slsSupportLib/tests/CMakeLists.txt b/slsSupportLib/tests/CMakeLists.txt old mode 100755 new mode 100644 index 75d20250c..799847745 --- a/slsSupportLib/tests/CMakeLists.txt +++ b/slsSupportLib/tests/CMakeLists.txt @@ -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 ${CMAKE_CURRENT_SOURCE_DIR}/test-bit_utils.cpp ${CMAKE_CURRENT_SOURCE_DIR}/test-file_utils.cpp diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt old mode 100755 new mode 100644 index 28adb9855..9c4cc368a --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-3.0-or-other +# Copyright (C) 2021 Contributors to the SLS Detector Package include_directories( ${PROJECT_SOURCE_DIR}/libs/catch include diff --git a/updateLicenseNotice.sh b/updateLicenseNotice.sh index f189ed09c..450a434c2 100644 --- a/updateLicenseNotice.sh +++ b/updateLicenseNotice.sh @@ -20,7 +20,7 @@ fi 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/" p=${file#"$prefix"} echo Processing $p