notify gitter on travis build failures
[sddekit.git] / CMakeLists.txt
blob60fd2dafc9ab8d4a16cc34ad4bb87eb8526ac4c5
1 cmake_minimum_required(VERSION 2.6)
2 project(sddekit)
4 # build time config
5 set(sk_ver_major 0)
6 set(sk_ver_minor 0)
7 set(sk_res_dir ${PROJECT_SOURCE_DIR})
8 configure_file(${CMAKE_SOURCE_DIR}/include/sk_config.h.in ${PROJECT_BINARY_DIR}/sk_config.h)
9 include_directories(${CMAKE_SOURCE_DIR}/include)
10 include_directories(${PROJECT_BINARY_DIR})
11 message("done configuring!")
13 if(gprof)
14         message("compiling for profiling")
15         set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pg")
16 endif()
18 add_subdirectory(src)
19 add_subdirectory(bench)
20 add_subdirectory(test)
21 #add_subdirectory(cython)
22 #add_subdirectory(mex)
23 #add_subdirectory(jni)