mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 22:43:26 +01:00
Merge branch 'master' of https://github.com/Tox/toxic
This commit is contained in:
commit
6269eafeaa
@ -1,23 +0,0 @@
|
|||||||
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})
|
|
||||||
set(exe_name toxic)
|
|
||||||
|
|
||||||
add_executable(${exe_name}
|
|
||||||
main.c
|
|
||||||
windows.c
|
|
||||||
prompt.c
|
|
||||||
friendlist.c
|
|
||||||
dhtstatus.c
|
|
||||||
chat.c
|
|
||||||
configdir.c)
|
|
||||||
|
|
||||||
include_directories(${CURSES_INCLUDE_DIR})
|
|
||||||
|
|
||||||
target_link_libraries(${exe_name}
|
|
||||||
${CURSES_LIBRARIES})
|
|
||||||
|
|
||||||
linkCoreLibraries(${exe_name})
|
|
Loading…
Reference in New Issue
Block a user