Skip to content

Commit 9f39bc2

Browse files
I applied SPDX headers and updated the root CMakeLists.txt. I also recreated subdirectory CMakeLists files due to file system issues.
1 parent 19508cc commit 9f39bc2

11 files changed

Lines changed: 59 additions & 152 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
15
cmake_minimum_required(VERSION 3.10)
26

37
# Project Name
48
project(mossco VERSION 1.2.0
59
DESCRIPTION "Modular System for Shelves and Coasts"
6-
LANGUAGES Fortran C CXX)
10+
LANGUAGES Fortran C)
711

812
# Homepage URL
913
set(PROJECT_HOMEPAGE_URL "http://www.mossco.de")
1014

11-
# Standard C++
12-
set(CMAKE_CXX_STANDARD 11)
13-
set(CMAKE_CXX_STANDARD_REQUIRED True)
14-
1515
# Add subdirectories
1616
add_subdirectory(src)
1717
add_subdirectory(examples)

examples/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for examples CMake definitions
16
# This directory will contain example applications using the project's libraries.
2-
# Add executables for each example.
37
# Example:
48
# add_executable(Example1 Example1.cpp)
59
# target_link_libraries(Example1 MyProject::MyLibrary)

external/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for external CMake definitions
16
# This directory will contain external dependencies.
27
# Use FetchContent or find_package to include them.
38
# Example:

src/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src CMake definitions
16
# Add subdirectories for components, connectors, drivers, mediators, test, and utilities
27
add_subdirectory(components)
38
add_subdirectory(connectors)

src/components/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src/components CMake definitions
16
# This directory will contain the source code for different components of the project.
2-
# Add libraries or executables for each component.
37
# Example:
48
# add_library(MyComponent MyComponent.cpp)
59
# target_include_directories(MyComponent PUBLIC ../include)

src/connectors/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src/connectors CMake definitions
16
# This directory will contain the source code for different connectors.
2-
# Add libraries or executables for each connector.
37
# Example:
48
# add_library(MyConnector MyConnector.cpp)
59
# target_include_directories(MyConnector PUBLIC ../include)

src/drivers/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src/drivers CMake definitions
16
# This directory will contain the source code for different drivers.
2-
# Add libraries or executables for each driver.
37
# Example:
48
# add_library(MyDriver MyDriver.cpp)
59
# target_include_directories(MyDriver PUBLIC ../include)

src/include/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src/include CMake definitions
16
# This directory will contain the public header files for the project.
27
# Use target_include_directories in other CMakeLists.txt files to make these headers available.
38
# Example:

src/mediators/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src/mediators CMake definitions
16
# This directory will contain the source code for different mediators.
2-
# Add libraries or executables for each mediator.
37
# Example:
48
# add_library(MyMediator MyMediator.cpp)
59
# target_include_directories(MyMediator PUBLIC ../include)

src/test/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
# SPDX-FileCopyrightText 2022 Helmholtz-Zentrum Hereon
2+
# SPDX-License-Identifier: CC0-1.0
3+
# SPDX-FileContributor Carsten Lemmen <carsten.lemmen@hereon.de>
4+
5+
# Placeholder for src/test CMake definitions
16
# This directory will contain test code for the project.
2-
# Add tests using add_test and link against a testing framework like GoogleTest.
37
# Example:
48
# add_executable(MyTest MyTest.cpp)
59
# target_link_libraries(MyTest MyProject::MyLibrary GTest::GTestMain)

0 commit comments

Comments
 (0)