2018-12-30 11:41:38 +00:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
|
|
SET(COMPILE_DEFINITIONS -Werror -Wall)
|
|
|
|
|
|
|
|
|
2018-12-30 14:27:43 +00:00
|
|
|
set(CMAKE_C_FLAGS "-Os")
|
|
|
|
set(CMAKE_CXX_FLAGS "-Os")
|
|
|
|
#set(CMAKE_C_FLAGS "-g -ggdb")
|
|
|
|
#set(CMAKE_CXX_FLAGS "-g -ggdb")
|
2018-12-30 11:41:38 +00:00
|
|
|
|
|
|
|
add_executable(fbcp fbcp.c)
|
|
|
|
target_link_libraries(fbcp m)
|
|
|
|
|
2018-12-30 14:27:43 +00:00
|
|
|
add_executable(flicker flicker.c)
|
|
|
|
|
2018-12-31 12:47:21 +00:00
|
|
|
add_executable(pixelflut pixelflut.c)
|
2018-12-30 14:27:43 +00:00
|
|
|
find_package (Threads)
|
|
|
|
target_link_libraries (pixelflut ${CMAKE_THREAD_LIBS_INIT})
|