CMakeLists.txt 400 B

1234567891011121314151617181920212223
  1. cmake_minimum_required(VERSION 2.8)
  2. project(ETL)
  3. find_package(Threads)
  4. if (CMAKE_USE_PTHREADS_INIT)
  5. set(HAVE_LIBPTHREAD ON)
  6. endif()
  7. # TODO: check for it
  8. set(HAVE_VASPRINTF ON)
  9. ## for tests
  10. include_directories(${CMAKE_SOURCE_DIR})
  11. ## for test to find generated etl_profile.h
  12. include_directories(${CMAKE_CURRENT_BINARY_DIR}/ETL)
  13. add_subdirectory(ETL)
  14. enable_testing()
  15. add_subdirectory(test)