Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
dc273755
Commit
dc273755
authored
10 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Made plugin path a CMake variable
parent
f1793657
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/mol/mm/src/CMakeLists.txt
+6
-0
6 additions, 0 deletions
modules/mol/mm/src/CMakeLists.txt
modules/mol/mm/src/settings.hh.in
+7
-3
7 additions, 3 deletions
modules/mol/mm/src/settings.hh.in
with
13 additions
and
3 deletions
modules/mol/mm/src/CMakeLists.txt
+
6
−
0
View file @
dc273755
...
@@ -36,6 +36,12 @@ set(OST_MOL_MM_SOURCES
...
@@ -36,6 +36,12 @@ set(OST_MOL_MM_SOURCES
steep.cc
steep.cc
)
)
# create settings.hh as configurational header, needed to set the plugins path
set
(
config_hh_generator
"CMake"
)
set
(
SETTINGS_HH_FILE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/settings.hh"
)
configure_file
(
settings.hh.in
${
SETTINGS_HH_FILE
}
)
set
(
MOL_MM_DEPS ost_mol ost_io
)
set
(
MOL_MM_DEPS ost_mol ost_io
)
...
...
This diff is collapsed.
Click to expand it.
modules/mol/mm/src/settings.hh
→
modules/mol/mm/src/settings.hh
.in
+
7
−
3
View file @
dc273755
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
#ifndef OST_MM_SETTINGS_HH
#ifndef OST_MM_SETTINGS_HH
#define OST_MM_SETTINGS_HH
#define OST_MM_SETTINGS_HH
/*
DO NOT EDIT, automatically generated by @config_hh_generator@
*/
#include <vector>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
...
@@ -130,8 +134,8 @@ struct Settings{
...
@@ -130,8 +134,8 @@ struct Settings{
reaction_field_dielectric(78.3),
reaction_field_dielectric(78.3),
use_dispersion_correction(true),
use_dispersion_correction(true),
keep_ff_specific_naming(true),
keep_ff_specific_naming(true),
openmm_plugin_directory
(
"
/usr/local/openmm/lib/plugins
"
),
openmm_plugin_directory("
@OPEN_MM_PLUGIN_DIR@
"),
custom_plugin_directory
(
"
/usr/local/openmm/lib/plugins
"
)
custom_plugin_directory("
@OPEN_MM_PLUGIN_DIR@
")
{ }
{ }
...
@@ -190,4 +194,4 @@ struct Settings{
...
@@ -190,4 +194,4 @@ struct Settings{
}}} //namespace
}}} //namespace
#endif
#endif
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment