diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-25 10:15:43 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-25 10:15:43 +0800 |
commit | a5e37f8fce723ea98d322ea8712ae6a9a16162e1 (patch) | |
tree | f08f96fb5321e696fdd85ae5bb0bfbc76bf974e1 | |
parent | b7aab36bc1c4bb01f5b26ba63b3daa4caadaaac1 (diff) |
CMakeLists.txt
Still having a bug of undefined references when an app links to this
library, which they say will be fixed in Qt 5.14.
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | CMakeLists.txt | 14 |
2 files changed, 19 insertions, 0 deletions
@@ -6,3 +6,8 @@ *.swp Makefile moc_* +CMakeCache.txt +CMakeFiles +CMakeLists.txt.user +cmake_install.cmake +*_autogen diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..6172f3f --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.0.0) + +project(qicclient VERSION 0.1 LANGUAGES CXX) + +set(CMAKE_AUTOMOC ON) + +find_package(Qt5Core) + +add_library(${PROJECT_NAME} STATIC + client.cxx) + +target_link_libraries(${PROJECT_NAME} Qt5::Core) + +include_directories(libicclient) |