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
88c23e1b
Unverified
Commit
88c23e1b
authored
Nov 07, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option to not write data files
parent
958d3b05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
CMakeLists.txt
+15
-10
test/.1juh.cif.gz.swp
+0
-0
No files found.
CMakeLists.txt
View file @
88c23e1b
...
...
@@ -71,6 +71,9 @@ endif()
# Lots of code depend on the availability of the components.cif file
option
(
CIFPP_DOWNLOAD_CCD
"Download the CCD file components.cif during installation"
ON
)
# Sometimes, a build does not want to install the data files
option
(
WRITE_DATA_FILES
"Install default data files (components.cif, mmcif dictionaries)"
ON
)
# An optional cron script can be installed to keep the data files up-to-date
if
(
UNIX
)
option
(
CIFPP_INSTALL_UPDATE_SCRIPT
"Install the script to update CCD and dictionary files"
ON
)
...
...
@@ -369,22 +372,24 @@ install(
COMPONENT Devel
)
install
(
FILES
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_ddl.dic
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_pdbx.dic
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_ma.dic
${
COMPONENTS_CIF
}
DESTINATION
${
CIFPP_DATA_DIR
}
)
if
(
${
CIFPP_CACHE_DIR
}
)
if
(
WRITE_DATA_FILES
)
install
(
FILES
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_ddl.dic
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_pdbx.dic
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_ma.dic
${
COMPONENTS_CIF
}
DESTINATION
${
CIFPP_
CACHE
_DIR
}
DESTINATION
${
CIFPP_
DATA
_DIR
}
)
if
(
${
CIFPP_CACHE_DIR
}
)
install
(
FILES
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_ddl.dic
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_pdbx.dic
${
PROJECT_SOURCE_DIR
}
/rsrc/mmcif_ma.dic
${
COMPONENTS_CIF
}
DESTINATION
${
CIFPP_CACHE_DIR
}
)
endif
()
endif
()
set
(
CONFIG_TEMPLATE_FILE
${
PROJECT_SOURCE_DIR
}
/cmake/cifppConfig.cmake.in
)
...
...
test/.1juh.cif.gz.swp
deleted
100644 → 0
View file @
958d3b05
File deleted
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