diff options
Diffstat (limited to 'testing/cmake')
-rw-r--r-- | testing/cmake/nTox_win32.cmake | 9 | ||||
-rw-r--r-- | testing/cmake/toxic.cmake | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/testing/cmake/nTox_win32.cmake b/testing/cmake/nTox_win32.cmake new file mode 100644 index 00000000..5acfb411 --- /dev/null +++ b/testing/cmake/nTox_win32.cmake | |||
@@ -0,0 +1,9 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(nTox_win32 C) | ||
3 | |||
4 | set(exe_name nTox_win32) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | nTox_win32.c misc_tools.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
diff --git a/testing/cmake/toxic.cmake b/testing/cmake/toxic.cmake new file mode 100644 index 00000000..1ffab788 --- /dev/null +++ b/testing/cmake/toxic.cmake | |||
@@ -0,0 +1,11 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(toxic C) | ||
3 | |||
4 | set(exe_name toxic) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | toxic/main.c toxic/prompt.c) | ||
8 | |||
9 | target_link_libraries(${exe_name} curses) | ||
10 | |||
11 | linkCoreLibraries(${exe_name}) | ||