CMakeLists.txt 547 Bytes
Newer Older
1
2
3
cmake_minimum_required(VERSION 2.6)
project (rot13)

4
include_directories("$ENV{TAPASCO_HOME}/arch/common/include" "$ENV{TAPASCO_HOME}/platform/common/include")
5
link_directories("$ENV{TAPASCO_HOME}/arch/axi4mm/lib/${CMAKE_SYSTEM_PROCESSOR}" "$ENV{TAPASCO_HOME}/platform/vc709/lib/${CMAKE_SYSTEM_PROCESSOR}")
6
7

add_executable(rot13 rot13.cpp)
8
add_executable(tapasco-rot13 tapasco_rot13.cpp)
Jens Korinth's avatar
Jens Korinth committed
9
target_link_libraries(tapasco-rot13 platform tapasco atomic pthread)
10
set_target_properties(rot13 tapasco-rot13 PROPERTIES COMPILE_FLAGS "-Wall -std=c++11 -g")