2013-07-17 19:24:07 +02:00
|
|
|
# some specific flags for tests...
|
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
|
|
|
include_directories( ${CMAKE_SOURCE_DIR} )
|
|
|
|
|
|
|
|
SET( link_libs ${LAPACK_LIBS} ${BOOST_LIBRARY} )
|
|
|
|
IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
|
|
list (REMOVE_DUPLICATES link_libs)
|
|
|
|
ENDIF( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
|
|
link_libraries( ${link_libs} triqs)
|
|
|
|
|
2013-10-01 22:56:11 +02:00
|
|
|
if (NOT compiler_is_obsolete_gcc)
|
2013-07-17 19:24:07 +02:00
|
|
|
add_subdirectory(triqs)
|
2013-10-01 22:56:11 +02:00
|
|
|
add_subdirectory(speed)
|
|
|
|
endif()
|
2013-07-17 19:24:07 +02:00
|
|
|
if (PythonSupport)
|
|
|
|
add_subdirectory(pytriqs)
|
|
|
|
endif()
|
|
|
|
|