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 user.cxx catalog.cxx basket.cxx client.cxx) target_link_libraries(${PROJECT_NAME} Qt5::Core) include_directories(libicclient)