1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 10:36:34 +01:00

Move sources to an own subdirectory

This commit is contained in:
Sergey 'Jin' Bostandzhyan
2013-08-22 23:57:20 +03:00
parent 23d5739dae
commit 43372f09a6
14 changed files with 0 additions and 0 deletions

23
src/CMakeLists.txt Normal file
View File

@@ -0,0 +1,23 @@
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})