2007-11-25 22:05:49 +00:00
|
|
|
project(Eigen)
|
2007-05-30 06:57:40 +00:00
|
|
|
|
|
|
|
|
OPTION(BUILD_TESTS "Build tests" OFF)
|
|
|
|
|
OPTION(BUILD_EXAMPLES "Build examples" OFF)
|
|
|
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
|
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
|
|
|
|
if (CMAKE_SYSTEM_NAME MATCHES Linux)
|
2007-09-29 08:28:36 +00:00
|
|
|
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-exceptions -fno-check-new -fno-common -fstrict-aliasing")
|
2007-05-30 06:57:40 +00:00
|
|
|
endif (CMAKE_SYSTEM_NAME MATCHES Linux)
|
|
|
|
|
endif (CMAKE_COMPILER_IS_GNUCXX)
|
|
|
|
|
|
|
|
|
|
include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
|
|
|
|
|
|
2007-12-20 21:25:13 +00:00
|
|
|
add_subdirectory(Eigen)
|
2007-09-05 11:39:42 +00:00
|
|
|
add_subdirectory(test)
|
2007-09-07 08:18:21 +00:00
|
|
|
add_subdirectory(doc)
|