From 4d9bf8032dd659e091394d688b6a2c59bf222240 Mon Sep 17 00:00:00 2001 From: Vitaly Svyastyn Date: Tue, 31 Oct 2017 13:32:16 +0200 Subject: Initial CMake support. (#1013) * CMake files for building application and core library. * CMake files for core plugins. Now it runs! * CMake files for some plugins. --- src/core/CMakeLists.txt | 14 ++++++++++++++ src/core/stdauth/CMakeLists.txt | 2 ++ src/core/stdautoaway/CMakeLists.txt | 2 ++ src/core/stdaway/CMakeLists.txt | 2 ++ src/core/stdclist/CMakeLists.txt | 2 ++ src/core/stdcrypt/CMakeLists.txt | 3 +++ src/core/stdemail/CMakeLists.txt | 2 ++ src/core/stdfile/CMakeLists.txt | 2 ++ src/core/stdhelp/CMakeLists.txt | 2 ++ src/core/stdidle/CMakeLists.txt | 2 ++ src/core/stdmsg/CMakeLists.txt | 2 ++ src/core/stdssl/CMakeLists.txt | 3 +++ src/core/stduihist/CMakeLists.txt | 2 ++ src/core/stduserinfo/CMakeLists.txt | 2 ++ src/core/stduseronline/CMakeLists.txt | 2 ++ 15 files changed, 44 insertions(+) create mode 100644 src/core/CMakeLists.txt create mode 100644 src/core/stdauth/CMakeLists.txt create mode 100644 src/core/stdautoaway/CMakeLists.txt create mode 100644 src/core/stdaway/CMakeLists.txt create mode 100644 src/core/stdclist/CMakeLists.txt create mode 100644 src/core/stdcrypt/CMakeLists.txt create mode 100644 src/core/stdemail/CMakeLists.txt create mode 100644 src/core/stdfile/CMakeLists.txt create mode 100644 src/core/stdhelp/CMakeLists.txt create mode 100644 src/core/stdidle/CMakeLists.txt create mode 100644 src/core/stdmsg/CMakeLists.txt create mode 100644 src/core/stdssl/CMakeLists.txt create mode 100644 src/core/stduihist/CMakeLists.txt create mode 100644 src/core/stduserinfo/CMakeLists.txt create mode 100644 src/core/stduseronline/CMakeLists.txt (limited to 'src/core') diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt new file mode 100644 index 0000000000..e91ba77adb --- /dev/null +++ b/src/core/CMakeLists.txt @@ -0,0 +1,14 @@ +add_subdirectory(stdauth) +add_subdirectory(stdautoaway) +add_subdirectory(stdaway) +add_subdirectory(stdclist) +add_subdirectory(stdcrypt) +add_subdirectory(stdemail) +add_subdirectory(stdfile) +add_subdirectory(stdhelp) +add_subdirectory(stdidle) +add_subdirectory(stdmsg) +add_subdirectory(stdssl) +add_subdirectory(stduihist) +add_subdirectory(stduserinfo) +add_subdirectory(stduseronline) \ No newline at end of file diff --git a/src/core/stdauth/CMakeLists.txt b/src/core/stdauth/CMakeLists.txt new file mode 100644 index 0000000000..eb455710b9 --- /dev/null +++ b/src/core/stdauth/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdAuth) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdautoaway/CMakeLists.txt b/src/core/stdautoaway/CMakeLists.txt new file mode 100644 index 0000000000..418414b0b0 --- /dev/null +++ b/src/core/stdautoaway/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdAutoAway) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdaway/CMakeLists.txt b/src/core/stdaway/CMakeLists.txt new file mode 100644 index 0000000000..567f31d827 --- /dev/null +++ b/src/core/stdaway/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdAway) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdclist/CMakeLists.txt b/src/core/stdclist/CMakeLists.txt new file mode 100644 index 0000000000..4477d53c3a --- /dev/null +++ b/src/core/stdclist/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdClist) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdcrypt/CMakeLists.txt b/src/core/stdcrypt/CMakeLists.txt new file mode 100644 index 0000000000..1a36c1921c --- /dev/null +++ b/src/core/stdcrypt/CMakeLists.txt @@ -0,0 +1,3 @@ +set(TARGET StdCrypt) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} Zlib) \ No newline at end of file diff --git a/src/core/stdemail/CMakeLists.txt b/src/core/stdemail/CMakeLists.txt new file mode 100644 index 0000000000..d7038bcdfc --- /dev/null +++ b/src/core/stdemail/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdEmail) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdfile/CMakeLists.txt b/src/core/stdfile/CMakeLists.txt new file mode 100644 index 0000000000..a91f49e32a --- /dev/null +++ b/src/core/stdfile/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdFile) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdhelp/CMakeLists.txt b/src/core/stdhelp/CMakeLists.txt new file mode 100644 index 0000000000..847cd567ba --- /dev/null +++ b/src/core/stdhelp/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdHelp) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdidle/CMakeLists.txt b/src/core/stdidle/CMakeLists.txt new file mode 100644 index 0000000000..67735cfc07 --- /dev/null +++ b/src/core/stdidle/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdIdle) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdmsg/CMakeLists.txt b/src/core/stdmsg/CMakeLists.txt new file mode 100644 index 0000000000..75b068ef77 --- /dev/null +++ b/src/core/stdmsg/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdMsg) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stdssl/CMakeLists.txt b/src/core/stdssl/CMakeLists.txt new file mode 100644 index 0000000000..ecc952031a --- /dev/null +++ b/src/core/stdssl/CMakeLists.txt @@ -0,0 +1,3 @@ +set(TARGET StdSSL) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} secur32.lib crypt32.lib) \ No newline at end of file diff --git a/src/core/stduihist/CMakeLists.txt b/src/core/stduihist/CMakeLists.txt new file mode 100644 index 0000000000..6b344c8bd4 --- /dev/null +++ b/src/core/stduihist/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdUIHist) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stduserinfo/CMakeLists.txt b/src/core/stduserinfo/CMakeLists.txt new file mode 100644 index 0000000000..42a47311b7 --- /dev/null +++ b/src/core/stduserinfo/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdUserInfo) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file diff --git a/src/core/stduseronline/CMakeLists.txt b/src/core/stduseronline/CMakeLists.txt new file mode 100644 index 0000000000..6cae375826 --- /dev/null +++ b/src/core/stduseronline/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET StdUserOnline) +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file -- cgit v1.2.3