Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
acf7db67
Commit
acf7db67
authored
Aug 23, 2013
by
peastman
Browse files
Merge pull request #119 from rmcgibbo/staging
Stage python app tests in the build directory
parents
193c8d97
7e8da785
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
wrappers/python/CMakeLists.txt
wrappers/python/CMakeLists.txt
+4
-1
No files found.
wrappers/python/CMakeLists.txt
View file @
acf7db67
...
...
@@ -13,6 +13,7 @@ mark_as_advanced(OPENMM_PYTHON_STAGING_DIR)
file
(
MAKE_DIRECTORY
${
OPENMM_PYTHON_STAGING_DIR
}
/simtk/openmm
)
file
(
MAKE_DIRECTORY
${
OPENMM_PYTHON_STAGING_DIR
}
/simtk/unit
)
file
(
MAKE_DIRECTORY
${
OPENMM_PYTHON_STAGING_DIR
}
/src/swig_doxygen/swig_lib/python
)
file
(
MAKE_DIRECTORY
${
OPENMM_PYTHON_STAGING_DIR
}
/tests
)
##############################################################################
### Identify files that need to be copied from source area to staging area ###
...
...
@@ -46,7 +47,7 @@ file(WRITE "${OPENMM_PYTHON_STAGING_DIR}/simtk/openmm/version.py" "git_revision
# set(temp2 "${temp2}\n${f}")
# endforeach()
set
(
SUBDIRS src simtk
)
set
(
SUBDIRS src simtk
tests
)
foreach
(
SUBDIR
${
SUBDIRS
}
)
file
(
GLOB_RECURSE STAGING_INPUT_FILES1 RELATIVE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
SUBDIR
}
/*README.txt"
...
...
@@ -55,6 +56,8 @@ foreach(SUBDIR ${SUBDIRS})
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
SUBDIR
}
/*.sh"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
SUBDIR
}
/*.xml"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
SUBDIR
}
/*.pdb"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
SUBDIR
}
/*.prmtop"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
SUBDIR
}
/*.top"
)
foreach
(
file
${
STAGING_INPUT_FILES1
}
)
set
(
STAGING_INPUT_FILES
${
STAGING_INPUT_FILES
}
"
${
file
}
"
)
...
...
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