diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-06-28 20:33:47 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-06-28 20:33:47 +0000 |
commit | 6917be911311428567bbde2a5db430d8c2c9ef96 (patch) | |
tree | 8e33d443965b92b90934d036730094ad8984b1bf /CMakeLists.txt | |
parent | 55e08f7102f86e7deac8d9430658b3010fc578bb (diff) |
add mandelbrot demo
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c9d5af679..033e45ae4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4) OPTION(BUILD_TESTS "Build tests" OFF) OPTION(BUILD_DOC "Build documentation and examples" OFF) +OPTION(BUILD_DEMOS "Build demos" OFF) OPTION(TEST_LIB "Build the unit tests using the library (disable -pedantic)" OFF) SET(CMAKE_INCLUDE_CURRENT_DIR ON) @@ -14,10 +15,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX) IF(NOT TEST_LIB) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic") ENDIF(NOT TEST_LIB) - IF(TEST_OPENMP) - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp") - MESSAGE("Enabling OpenMP in tests/examples") - ENDIF(TEST_OPENMP) IF(TEST_SSE2) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2") MESSAGE("Enabling SSE2 in tests/examples") @@ -38,3 +35,4 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) ADD_SUBDIRECTORY(Eigen) ADD_SUBDIRECTORY(test) ADD_SUBDIRECTORY(doc) +ADD_SUBDIRECTORY(demos)
\ No newline at end of file |