diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-25 10:13:43 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-25 10:13:43 +0800 |
commit | e71900c75a2c557148a67f0aa43058a62c1c6719 (patch) | |
tree | dabcb83f43bb2d3efa5d480743a69503cba3f38f | |
parent | c1d0defeb364527218d1187b9be87872282428a8 (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 | 16 |
2 files changed, 21 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..a8b696d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.0.0) + +project(qrtclient VERSION 0.1 LANGUAGES CXX) + +set(CMAKE_AUTOMOC ON) + +find_package(Qt5Core) + +add_library(${PROJECT_NAME} STATIC + user.cxx + ticket.cxx + client.cxx) + +target_link_libraries(${PROJECT_NAME} Qt5::Core) + +include_directories(librtclient) |