summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/CMakeLists.txt7
-rw-r--r--protocols/Tox/proto_tox/CMakeLists.txt2
2 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Tox/CMakeLists.txt b/protocols/Tox/CMakeLists.txt
new file mode 100644
index 0000000000..88144b9949
--- /dev/null
+++ b/protocols/Tox/CMakeLists.txt
@@ -0,0 +1,7 @@
+file(GLOB SOURCES "src/*.h" "include/*.h" "src/*.cpp" "res/*.rc")
+set(TARGET Tox)
+include_directories("include")
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} libjson Winmm.lib dnsapi.lib comctl32.lib)
+add_custom_command(TARGET ${TARGET} POST_BUILD COMMAND "make_ver.bat x86 ${CMAKE_BINARY_DIR}/Libs")
+add_subdirectory(proto_tox) \ No newline at end of file
diff --git a/protocols/Tox/proto_tox/CMakeLists.txt b/protocols/Tox/proto_tox/CMakeLists.txt
new file mode 100644
index 0000000000..680b9dc369
--- /dev/null
+++ b/protocols/Tox/proto_tox/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_Tox)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file