cmake_minimum_required(VERSION 3.18) project(AutoPointsPermis) set(CMAKE_CXX_STANDARD 20) set(CommonFiles db_info.h LicenceOperations.cpp LicenceOperations.h) add_executable(AutoPointsPermis-CreateDb create.cpp ${CommonFiles}) add_executable(AutoPointsPermis main.cpp ${CommonFiles}) target_link_libraries(AutoPointsPermis sqlite3) target_link_libraries(AutoPointsPermis-CreateDb sqlite3)