forked from rmbianchi/concurrent_framework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
21 lines (14 loc) · 937 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR)
project(CF4Hep)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
#---Options-------------------------------------------------------------------------
find_package(TBB REQUIRED)
#---Packages------------------------------------------------------------------------
#--Examples-------------------------------------------------------------------------
include_directories(${TBB_INCLUDE_DIR})
add_executable(CF4HepTaskBitsDemonstrator taskbits_example.cpp Whiteboard.cpp Context.cpp Scheduler.cpp AlgoPool.cpp EventLoopManager.cpp)
target_link_libraries(CF4HepTaskBitsDemonstrator ${TBB_LIBRARIES})
#---Configuration-------------------------------------------------------------------
configure_file(cmake/thisCF4Hep.csh thisCF4Hep.csh @ONLY)
#configure_file(cmake/thisdd4hep.sh thisdd4hep.sh @ONLY)
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${TBB_LIBRARY_DIR})