pixelserver2/apps/c-src/CMakeLists.txt
2018-12-30 15:27:43 +01:00

19 lines
412 B
CMake

cmake_minimum_required(VERSION 2.8)
SET(COMPILE_DEFINITIONS -Werror -Wall)
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)
add_executable(flicker flicker.c)
add_executable(pixelflut pixelflut.cpp)
find_package (Threads)
target_link_libraries (pixelflut ${CMAKE_THREAD_LIBS_INIT})