mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
12 lines
223 B
CMake
12 lines
223 B
CMake
|
cmake_minimum_required(VERSION 2.6.0)
|
||
|
project(toxic C)
|
||
|
|
||
|
set(exe_name toxic/toxic)
|
||
|
|
||
|
add_executable(${exe_name}
|
||
|
toxic/main.c toxic/prompt.c)
|
||
|
|
||
|
target_link_libraries(${exe_name} curses)
|
||
|
|
||
|
linkCoreLibraries(${exe_name})
|