pixelserver2/apps/c-src/CMakeLists.txt

19 lines
410 B
CMake
Raw Normal View History

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")
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})