1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-07-03 18:07:47 +02:00
toxic/CMakeLists.txt

20 lines
419 B
CMake
Raw Normal View History

2013-07-30 02:45:53 +02:00
cmake_minimum_required(VERSION 2.6.0)
project(toxic C)
execute_process(COMMAND git rev-list HEAD --count OUTPUT_VARIABLE COMMIT)
SET(GCC_COVERAGE_COMPILE_FLAGS '-DTOXICVER="0.1.1_r${COMMIT}"')
add_definitions(${GCC_COVERAGE_COMPILE_FLAGS})
2013-07-30 02:45:53 +02:00
set(exe_name toxic)
add_executable(${exe_name}
2013-07-30 17:55:46 +02:00
main.c
prompt.c
2013-07-31 19:20:03 +02:00
friendlist.c
2013-08-08 16:00:12 +02:00
chat.c
configdir.c)
2013-07-30 02:45:53 +02:00
target_link_libraries(${exe_name}
curses)
linkCoreLibraries(${exe_name})