diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-05-22 12:58:40 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-05-22 12:58:40 (GMT) |
commit | 98900c813d6b037a3931c60836a1df0405e1d6c5 (patch) | |
tree | ced597db7d76115d99dd5159b78aef1bbe33a645 /CMakeLists.txt | |
parent | 74c11f5f2026bb02385763fd96d41d1d6a5f989c (diff) |
Added building options and bin subdirectories
Options to determine whether to build examples (on) and compression
tests (off).
Place binaries in subdirectories.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e32141..496a830 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,9 @@ include_directories(${CMAKE_SOURCE_DIR}/include) option(BUILD_FORTRAN "Build Fortran compatible library and examples for testing" OFF) +option(BUILD_TNG_EXAMPLES "Build examples showing usage of the TNG API" ON) +option(BUILD_COMPRESSION_TESTS "Build tests of the TNG compression library" OFF) + option(USE_OPENMP "Try to use the OpenMP library (if available)" ON) if(USE_OPENMP) find_package(OpenMP) |