summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--CMakeLists.txt14
2 files changed, 19 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 19963cb..f623e34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,10 @@
+CMakeCache.txt
+CMakeFiles
+cmake_install.cmake
+CMakeLists.txt.user
libqicclient.a
Makefile
moc_*
*.o
-qicclient.pro.user
-.qmake.stash
+qicclient_autogen
*.swp
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)