##// END OF EJS Templates
Fix merge problem
Fix merge problem

File last commit:

r1153:07d7d7f01c19
r1297:3731b9185cc1
Show More
sciqlop_applications.cmake
74 lines | 2.7 KiB | text/x-cmake | CMakeLexer
/ cmake / sciqlop_applications.cmake
Initialisation de l'archi cmake
r0
Ajout de la couverture de code avec gcov, lcov & genpath
r42 if(BUILD_TESTS)
The binary is build into the dist dir instead of the dist/build_type dir because the build itself make already the diffence bewteen the build type...
r50 INCLUDE ("cmake/sciqlop_code_coverage.cmake")
Ajout de la couverture de code avec gcov, lcov & genpath
r42 APPEND_COVERAGE_COMPILER_FLAGS()
endif(BUILD_TESTS)
Initialisation de l'archi cmake
r0 #
mperrinel
Factorisation des commentaires inutiles
r18 # Compile the diffents modules
Initialisation de l'archi cmake
r0 #
Alexandre Leroux
CMakeLists for "plugin" module...
r64 set(sciqlop-plugin_DIR "${CMAKE_SOURCE_DIR}/plugin/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-plugin_DIR}")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/plugin")
Mise à jour de la config pour plus de fonctionnel...
r20 set(sciqlop-core_DIR "${CMAKE_SOURCE_DIR}/core/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-core_DIR}")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/core")
set(sciqlop-gui_DIR "${CMAKE_SOURCE_DIR}/gui/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-gui_DIR}")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/gui")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/app")
Initialisation de l'archi cmake
r0
Alexandre Leroux
CMakeFiles for mock plugin
r98 OPTION (BUILD_PLUGINS "Build the plugins" OFF)
IF(BUILD_PLUGINS)
set(sciqlop-mockplugin_DIR "${CMAKE_SOURCE_DIR}/plugins/mockplugin/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-mockplugin_DIR}")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/plugins/mockplugin")
Alexandre Leroux
Cmakes for AMDA plugin
r349
Alexandre Leroux
Sets option for CMake
r1149 # Sets AMDA server that will be used during execution.
# Available values are:
# - "default": default AMDA server
# - "amdatest": AMDA test server
Alexandre Leroux
Adds "hybrid" server mode...
r1151 # - "hybrid": use both the default server and the test server (the server used is relative to each product, according to its "server" property in the JSON file)
Alexandre Leroux
Adds "local server" mode...
r1153 # - "localhost": use local AMDA server
Alexandre Leroux
Sets option for CMake
r1149 # Any other value will lead to the use of the default server
Alexandre Leroux
Adds "hybrid" server mode...
r1151 ADD_DEFINITIONS(-DSCIQLOP_AMDA_SERVER="hybrid")
Alexandre Leroux
Sets option for CMake
r1149
Alexandre Leroux
Cmakes for AMDA plugin
r349 set(sciqlop-amda_DIR "${CMAKE_SOURCE_DIR}/plugins/amda/cmake")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${sciqlop-amda_DIR}")
ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/plugins/amda")
# Temporary target to copy to plugins dir
find_package(sciqlop-mockplugin)
find_package(sciqlop-amda)
ADD_CUSTOM_TARGET(plugins
COMMAND ${CMAKE_COMMAND} -E copy ${SCIQLOP-MOCKPLUGIN_LIBRARIES} "${LIBRARY_OUTPUT_PATH}/plugins/${SCIQLOP-MOCKPLUGIN_LIBRARIES_NAME}"
COMMAND ${CMAKE_COMMAND} -E copy ${SCIQLOP-AMDA_LIBRARIES} "${LIBRARY_OUTPUT_PATH}/plugins/${SCIQLOP-AMDA_LIBRARIES_NAME}"
)
Alexandre Leroux
CMakeFiles for mock plugin
r98 ENDIF(BUILD_PLUGINS)
Ajout du logger compatible Linux à la compilation.
r25 # LOGGER
set(QTLOGGING_INI_FILE "${CMAKE_SOURCE_DIR}/config/QtProject/qtlogging.ini")
FILE(COPY ${QTLOGGING_INI_FILE} DESTINATION ${CONFIG_OUTPUT_PATH})
Initialisation de l'archi cmake
r0 #
# Code formatting
#
Ajout des règles vera++
r24 # Vera++ exclusion files
LIST(APPEND CHECKSTYLE_EXCLUSION_FILES ${CMAKE_CURRENT_SOURCE_DIR}/formatting/vera-exclusions/exclusions.txt)
Alexandre Leroux
commit temp
r41 #SCIQLOP_SET_TO_PARENT_SCOPE(CHECKSTYLE_EXCLUSION_FILES)
Initialisation de l'archi cmake
r0 INCLUDE ("cmake/sciqlop_formatting.cmake")
#
# Documentation generation
#
INCLUDE ("cmake/sciqlop_doxygen.cmake")
#
# Source code analysis
#
INCLUDE ("cmake/sciqlop_code_analysis.cmake")
mperrinel
Initialisation de la configuration Linux
r14 INCLUDE ("cmake/sciqlop_code_cppcheck.cmake")