##// END OF EJS Templates
Give executable name to parent to be able to find in in the package cmake file
Give executable name to parent to be able to find in in the package cmake file

File last commit:

r42:268b32cf0b31
r49:d3f4b1e4846d
Show More
sciqlop_applications.cmake
57 lines | 1.6 KiB | text/x-cmake | CMakeLexer
/ cmake / sciqlop_applications.cmake
Initialisation de l'archi cmake
r0 #
# Sciqlop_modules.cmake
#
# Set ouptut directories
#
SET (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/${CMAKE_BUILD_TYPE})
SET (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/${CMAKE_BUILD_TYPE})
Ajout du logger compatible Linux à la compilation.
r25 IF (UNIX)
SET (CONFIG_OUTPUT_PATH $ENV{HOME}/.config/QtProject)
ELSEIF(WIN32)
SET (CONFIG_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/${CMAKE_BUILD_TYPE}/app/QtProject)
ELSE()
SET (CONFIG_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dist/${CMAKE_BUILD_TYPE})
ENDIF()
Initialisation de l'archi cmake
r0
Alexandre Leroux
commit temp
r41 INCLUDE ("cmake/sciqlop_code_coverage.cmake")
Ajout de la couverture de code avec gcov, lcov & genpath
r42 if(BUILD_TESTS)
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 #
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
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")