##// END OF EJS Templates
Merge branch 'featureCompilationFixForCI' into develop
Merge branch 'featureCompilationFixForCI' into develop

File last commit:

r105:7befa005d4e3
r106:3d4bc8bb35bd merge
Show More
CMakeLists.txt
46 lines | 1.4 KiB | text/plain | TextLexer
Alexandre Leroux
CMakeLists for "plugin" module...
r64 ## plugin - CMakeLists.txt
STRING(TOLOWER ${CMAKE_PROJECT_NAME} LIBRARY_PREFFIX)
SET(SQPPLUGIN_LIBRARY_NAME "${LIBRARY_PREFFIX}_plugin${DEBUG_SUFFIX}")
SET(INCLUDES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include")
# Include plugin directory
INCLUDE_DIRECTORIES("${INCLUDES_DIR}")
#
# Find Qt modules
#
SCIQLOP_FIND_QT(Core)
#
# Compile the library
#
FILE (GLOB_RECURSE MODULE_SOURCES
${INCLUDES_DIR}/*.h)
Add dependencies for plugins
r105 ADD_LIBRARY(${SQPPLUGIN_LIBRARY_NAME} ${MODULE_SOURCES})
Alexandre Leroux
CMakeLists for "plugin" module...
r64
# Add the files to the list of files to be analyzed
LIST(APPEND CHECKSTYLE_INPUT_FILES ${MODULE_SOURCES})
SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_INPUT_FILES)
# Vera++ exclusion files
#LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/path/to/exclusionFiles.tcl)
SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
#
# Set the files that must be formatted by clang-format.
#
LIST (APPEND FORMATTING_INPUT_FILES ${MODULE_SOURCES})
SCIQLOP_SET_TO_PARENT_SCOPE(FORMATTING_INPUT_FILES)
#
# Set the directories that doxygen must browse to generate the
# documentation.
#
# Source directories:
LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/docs")
LIST (APPEND DOXYGEN_INPUT_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include")
SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_INPUT_DIRS)
# Source directories to exclude from the documentation generation
#LIST (APPEND DOXYGEN_EXCLUDE_PATTERNS "${CMAKE_CURRENT_SOURCE_DIR}/path/to/subdir/*")
SCIQLOP_SET_TO_PARENT_SCOPE(DOXYGEN_EXCLUDE_PATTERNS)