mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
if we want to test QET on QT6, KF5 must be removed from the code, this switch is for that, this is for testing only
72 lines
3.2 KiB
CMake
72 lines
3.2 KiB
CMake
# Copyright 2006 The QElectroTech Team
|
|
# This file is part of QElectroTech.
|
|
#
|
|
# QElectroTech is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# QElectroTech is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# Paths used for compilation and installation of QET
|
|
|
|
message(" - define_definitions")
|
|
|
|
message("Paths used for compilation and installation of QET")
|
|
message("--------------------------------------------------")
|
|
message("COMPIL_PREFIX " ${COMPIL_PREFIX})
|
|
message("INSTALL_PREFIX " ${INSTALL_PREFIX})
|
|
message("QET_BINARY_PATH " ${QET_BINARY_PATH})
|
|
|
|
if(${QET_COMMON_COLLECTION_PATH} STRGREATER "")
|
|
message("QET_COMMON_COLLECTION_PATH " ${INSTALL_PREFIX}${QET_COMMON_COLLECTION_PATH})
|
|
add_definitions(-DQET_COMMON_COLLECTION_PATH=${INSTALL_PREFIX}${QET_COMMON_COLLECTION_PATH})
|
|
endif()
|
|
if(${QET_COMMON_TBT_PATH} STRGREATER "")
|
|
message("QET_COMMON_TBT_PATH " ${INSTALL_PREFIX}${QET_COMMON_TBT_PATH})
|
|
add_definitions(-DQET_COMMON_TBT_PATH=${INSTALL_PREFIX}${QET_COMMON_TBT_PATH})
|
|
endif()
|
|
if(${QET_LANG_PATH_RELATIVE_TO_BINARY_PATH})
|
|
add_definitions(-DQET_LANG_PATH_RELATIVE_TO_BINARY_PATH)
|
|
endif()
|
|
if(${QET_LANG_PATH} STRGREATER "")
|
|
message("QET_LANG_PATH " ${INSTALL_PREFIX}${QET_LANG_PATH})
|
|
add_definitions(-DQET_LANG_PATH=${INSTALL_PREFIX}${QET_LANG_PATH})
|
|
endif()
|
|
if(${QET_EXAMPLES_PATH} STRGREATER "")
|
|
message("QET_EXAMPLES_PATH " ${INSTALL_PREFIX}${QET_EXAMPLES_PATH})
|
|
add_definitions(-DQET_EXAMPLES_PATH=${INSTALL_PREFIX}${QET_EXAMPLES_PATH})
|
|
endif()
|
|
|
|
message("QET_LICENSE_PATH " ${QET_LICENSE_PATH})
|
|
message("QET_MIME_XML_PATH " ${QET_MIME_XML_PATH})
|
|
message("QET_MIME_DESKTOP_PATH " ${QET_MIME_DESKTOP_PATH})
|
|
message("QET_MIME_PACKAGE_PATH " ${QET_MIME_PACKAGE_PATH})
|
|
message("QET_DESKTOP_PATH " ${QET_DESKTOP_PATH})
|
|
message("QET_ICONS_PATH " ${QET_ICONS_PATH})
|
|
message("QET_MAN_PATH " ${QET_MAN_PATH})
|
|
message("QET_APPDATA_PATH " ${QET_APPDATA_PATH})
|
|
message("ICON " ${ICON})
|
|
message("--------------------------------------------------")
|
|
message("PROJECT_NAME :" ${PROJECT_NAME})
|
|
message("PROJECT_VERSION :" ${PROJECT_VERSION})
|
|
message("PROJECT_DESCRIPTION :" ${PROJECT_DESCRIPTION})
|
|
message("PROJECT_HOMEPAGE_URL :" ${PROJECT_HOMEPAGE_URL})
|
|
message("PROJECT_SOURCE_DIR :" ${PROJECT_SOURCE_DIR})
|
|
message("QET_DIR :" ${QET_DIR})
|
|
message("GIT_COMMIT_SHA :" ${GIT_COMMIT_SHA})
|
|
|
|
if(BUILD_WITH_KF5)
|
|
message("KF5_GIT_TAG :" ${KF5_GIT_TAG})
|
|
else()
|
|
add_definitions(-DBUILD_WITHOUT_KF5)
|
|
endif()
|
|
message("QET_COMPONENTS :" ${QET_COMPONENTS})
|
|
message("QT_VERSION_MAJOR :" ${QT_VERSION_MAJOR})
|