Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

cmake_minimum_required(VERSION 2.

8)
project(Cadabra)
enable_testing()
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2")
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2 -I/usr/local/Cellar/py
thon/2.7.8_2/Frameworks/Python.framework/Versions/2.7/include/python2.7")
endif()
# Set path to additional cmake files
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
subdirs(core client_server frontend tests)

You might also like