Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
794ddbda
Unverified
Commit
794ddbda
authored
Nov 14, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove submodules
parent
efb1da49
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
34 deletions
+2
-34
CMakeLists.txt
+2
-9
cmake/AddGitSubmodule.cmake
+0
-23
gxrio
+0
-1
libconfig
+0
-1
No files found.
CMakeLists.txt
View file @
794ddbda
...
...
@@ -37,7 +37,6 @@ include(CMakePackageConfigHelpers)
include
(
Dart
)
include
(
FindFilesystem
)
include
(
GenerateExportHeader
)
include
(
AddGitSubmodule
)
set
(
CXX_EXTENSIONS OFF
)
set
(
CMAKE_CXX_STANDARD 17
)
...
...
@@ -105,18 +104,12 @@ find_package(Threads)
find_package
(
libconfig QUIET
)
if
(
NOT libconfig_FOUND
)
add_git_submodule
(
libconfig EXCLUDE_FROM_ALL
)
endif
()
find_package
(
gxrio QUIET
)
if
(
NOT gxrio_FOUND
)
add_git_submodule
(
gxrio EXCLUDE_FROM_ALL
)
add_subdirectory
(
libconfig EXCLUDE_FROM_ALL
)
endif
()
find_package
(
cifpp 5.0.0 REQUIRED
)
add_
git_submodule
(
date EXCLUDE_FROM_ALL
)
add_
subdirectory
(
date EXCLUDE_FROM_ALL
)
# The DSSP code is in a separate library, optionally to be used by others
add_library
(
dssp_library OBJECT
${
PROJECT_SOURCE_DIR
}
/src/DSSP.cpp
)
...
...
cmake/AddGitSubmodule.cmake
deleted
100644 → 0
View file @
efb1da49
cmake_minimum_required
(
VERSION 3.19
)
function
(
add_git_submodule dir
)
# add a Git submodule directory to CMake, assuming the
# Git submodule directory is a CMake project.
#
# Usage: in CMakeLists.txt
#
# include(AddGitSubmodule.cmake)
# add_git_submodule(mysubmod_dir)
find_package
(
Git REQUIRED
)
if
(
NOT EXISTS
${
dir
}
/CMakeLists.txt
)
execute_process
(
COMMAND
${
GIT_EXECUTABLE
}
submodule update --init --recursive --
${
dir
}
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
COMMAND_ERROR_IS_FATAL ANY
)
endif
()
set
(
ENABLE_TESTING OFF
)
add_subdirectory
(
${
dir
}
${
ARGV
}
)
endfunction
(
add_git_submodule
)
\ No newline at end of file
gxrio
@
a7bb5b5c
Subproject commit a7bb5b5c4b6612215a78267b89e05c39a45429b5
libconfig
@
ecbd393f
Subproject commit ecbd393f79946b904b309b7cefb44bcfe926b75f
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment