## ========================================================================= ## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) ## ========================================================================= ## == Base project configuration cmake_minimum_required(VERSION 3.0) set(prj_NAME cpPlugins) set(prj_MAJ 1) set(prj_MIN 0) set(prj_REL 0) ## == Project definiton project(${prj_NAME} VERSION "${prj_MAJ}.${prj_MIN}.${prj_REL}") include(cmake/cpPlgDefinitions.cmake) include(cmake/cpPlgFunctions.cmake) ## == User could want only cmake scripts option(cpPlugins_BUILD "Build targets?" OFF) if(cpPlugins_BUILD) ## == Options option(BUILD_PLUGINS_cpPluginsBase "Build base plugins?" OFF) ## == Find Boost find_package(Boost REQUIRED COMPONENTS filesystem program_options) ## == Find Qt5 find_package(Qt5 CONFIG REQUIRED COMPONENTS Widgets) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) ## == Process subdirs subdirs(appli lib) endif(cpPlugins_BUILD) include(cmake/cpPlgInstallCommands.cmake) ## == Prepare CMake scripts subdirs(cmake) ## eof - $RCSfile$