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
ff306934
Unverified
Commit
ff306934
authored
Oct 30, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'trunk' of github.com:PDB-REDO/dssp into trunk
parents
ed7b9c8f
60b76a50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
+1
-1
cmake/VersionString.cmake
+3
-3
No files found.
CMakeLists.txt
View file @
ff306934
...
@@ -117,7 +117,7 @@ add_executable(mkdssp
...
@@ -117,7 +117,7 @@ add_executable(mkdssp
${
PROJECT_SOURCE_DIR
}
/src/mkdssp.cpp
${
PROJECT_SOURCE_DIR
}
/src/mkdssp.cpp
$<TARGET_OBJECTS:dssp_library>
)
$<TARGET_OBJECTS:dssp_library>
)
target_include_directories
(
mkdssp PRIVATE
${
CMAKE
_BINARY_DIR
}
)
target_include_directories
(
mkdssp PRIVATE
${
PROJECT
_BINARY_DIR
}
)
target_link_libraries
(
mkdssp PRIVATE dssp_library cifpp::cifpp date::date libconfig::libconfig gxrio::gxrio
)
target_link_libraries
(
mkdssp PRIVATE dssp_library cifpp::cifpp date::date libconfig::libconfig gxrio::gxrio
)
if
(
USE_RSRC
)
if
(
USE_RSRC
)
...
...
cmake/VersionString.cmake
View file @
ff306934
...
@@ -42,14 +42,14 @@ function(write_version_header)
...
@@ -42,14 +42,14 @@ function(write_version_header)
set
(
BUILD_VERSION_STRING
"no git info available"
)
set
(
BUILD_VERSION_STRING
"no git info available"
)
endif
()
endif
()
include_directories
(
${
CMAKE
_BINARY_DIR
}
PRIVATE
)
include_directories
(
${
PROJECT
_BINARY_DIR
}
PRIVATE
)
string
(
TIMESTAMP BUILD_DATE_TIME
"%Y-%m-%dT%H:%M:%SZ"
UTC
)
string
(
TIMESTAMP BUILD_DATE_TIME
"%Y-%m-%dT%H:%M:%SZ"
UTC
)
if
(
ARGC GREATER 0
)
if
(
ARGC GREATER 0
)
set
(
VAR_PREFIX
"
${
ARGV0
}
"
)
set
(
VAR_PREFIX
"
${
ARGV0
}
"
)
endif
()
endif
()
file
(
WRITE
"
${
CMAKE
_BINARY_DIR
}
/revision.hpp.in"
[[// Generated revision file
file
(
WRITE
"
${
PROJECT
_BINARY_DIR
}
/revision.hpp.in"
[[// Generated revision file
#pragma once
#pragma once
...
@@ -72,6 +72,6 @@ inline void write_version_string(std::ostream &os, bool verbose)
...
@@ -72,6 +72,6 @@ inline void write_version_string(std::ostream &os, bool verbose)
}
}
}
}
]]
)
]]
)
configure_file
(
"
${
CMAKE_BINARY_DIR
}
/revision.hpp.in"
"
${
CMAKE
_BINARY_DIR
}
/revision.hpp"
@ONLY
)
configure_file
(
"
${
PROJECT_BINARY_DIR
}
/revision.hpp.in"
"
${
PROJECT
_BINARY_DIR
}
/revision.hpp"
@ONLY
)
endfunction
()
endfunction
()
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