Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xdmf
Xdmf
Commits
9f463340
Commit
9f463340
authored
Nov 24, 2010
by
Brian Panneton
Browse files
ENH: Cleaned up some of the CMakeLists.txt file
parent
d7e90ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9f463340
project
(
Xdmf
)
cmake_minimum_required
(
VERSION 2.6
)
enable_testing
()
include
(
CTest
)
set
(
BUILD_SHARED_LIBS true
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
SET
(
CMAKE_SKIP_BUILD_RPATH FALSE
)
...
...
@@ -23,6 +20,12 @@ if(XDMF_BUILD_DOCUMENTATION)
add_subdirectory
(
doc
)
endif
(
XDMF_BUILD_DOCUMENTATION
)
option
(
XDMF_BUILD_TESTING ON
)
if
(
XDMF_BUILD_TESTING
)
enable_testing
()
include
(
CTest
)
endif
(
XDMF_BUILD_TESTING
)
# Wrapper Setup
option
(
XDMF_WRAP_PYTHON OFF
)
option
(
XDMF_WRAP_JAVA OFF
)
...
...
@@ -159,7 +162,6 @@ if(NOT XDMF_BUILD_CORE_ONLY)
endif
(
XDMF_WRAP_PYTHON
)
if
(
BUILD_TESTING
)
include_directories
(
tests/Cxx
)
add_subdirectory
(
tests
)
endif
(
BUILD_TESTING
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment