summaryrefslogtreecommitdiff
path: root/testing/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cmake')
-rw-r--r--testing/cmake/nTox_win32.cmake9
-rw-r--r--testing/cmake/toxic.cmake11
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 @@
1cmake_minimum_required(VERSION 2.6.0)
2project(nTox_win32 C)
3
4set(exe_name nTox_win32)
5
6add_executable(${exe_name}
7 nTox_win32.c misc_tools.c)
8
9linkCoreLibraries(${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 @@
1cmake_minimum_required(VERSION 2.6.0)
2project(toxic C)
3
4set(exe_name toxic)
5
6add_executable(${exe_name}
7 toxic/main.c toxic/prompt.c)
8
9target_link_libraries(${exe_name} curses)
10
11linkCoreLibraries(${exe_name})