Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
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
libcifpp
Commits
1ff9b6c0
Commit
1ff9b6c0
authored
Apr 08, 2024
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Plain Diff
fix makefile
parents
c1a51a1d
bfbbeb90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
CMakeLists.txt
+8
-5
examples/example.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
1ff9b6c0
...
...
@@ -27,7 +27,7 @@ cmake_minimum_required(VERSION 3.23)
# set the project name
project
(
libcifpp
VERSION 7.0.
4
VERSION 7.0.
5
LANGUAGES CXX
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
@@ -328,7 +328,7 @@ set(project_headers
include/cif++/validate.hpp
)
add_library
(
cifpp
STATIC
)
add_library
(
cifpp
)
add_library
(
cifpp::cifpp ALIAS cifpp
)
target_sources
(
cifpp
...
...
@@ -489,13 +489,16 @@ install(EXPORT cifpp
FILE
"cifpp-targets.cmake"
DESTINATION lib/cmake/cifpp
)
if
(
CIFPP_DATA_DIR AND CIFPP_DOWNLOAD_CCD
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/rsrc/mmcif_ddl.dic
${
CMAKE_CURRENT_SOURCE_DIR
}
/rsrc/mmcif_pdbx.dic
${
CMAKE_CURRENT_SOURCE_DIR
}
/rsrc/mmcif_ma.dic
${
COMPONENTS_CIF
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/rsrc/mmcif_ma.dic
DESTINATION
${
CMAKE_INSTALL_DATADIR
}
/libcifpp
)
endif
()
if
(
CIFPP_DATA_DIR AND CIFPP_DOWNLOAD_CCD
)
install
(
FILES
${
COMPONENTS_CIF
}
DESTINATION
${
CMAKE_INSTALL_DATADIR
}
/libcifpp
)
endif
()
set
(
CONFIG_TEMPLATE_FILE
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/cifpp-config.cmake.in
)
...
...
examples/example.cpp
View file @
1ff9b6c0
...
...
@@ -13,7 +13,7 @@ int main(int argc, char *argv[])
exit
(
1
);
}
cif
::
file
file
=
cif
::
pdb
::
read
(
argv
[
1
]);
cif
::
file
file
(
argv
[
1
]);
if
(
file
.
empty
())
{
...
...
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