|
| 1 | +#[[ |
| 2 | +"Text Insertion Program (TIP)" is a software |
| 3 | +for client management and generating unique images for each client. |
| 4 | +Copyright (C) 2024 Pavel Remdenok |
| 5 | +
|
| 6 | +This program is free software: you can redistribute it and/or modify |
| 7 | +it under the terms of the GNU General Public License as published by |
| 8 | +the Free Software Foundation, either version 3 of the License, or |
| 9 | +(at your option) any later version. |
| 10 | +
|
| 11 | +This program is distributed in the hope that it will be useful, |
| 12 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | +GNU General Public License for more details. |
| 15 | +
|
| 16 | +You should have received a copy of the GNU General Public License |
| 17 | +along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 18 | +]] |
| 19 | + |
1 | 20 | ######################################################################## |
2 | 21 | # .:^7^ # |
3 | 22 | # :^!?Y5PGGBG~77 # |
@@ -110,7 +129,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES AUTOMOC ON AUTORCC ON AUTOUIC O |
110 | 129 |
|
111 | 130 | # Копирование содержимого папки reference в build |
112 | 131 | add_custom_command( |
113 | | - TARGET ${PROJECT_NAME} # Укажите вашу цель |
| 132 | + TARGET ${PROJECT_NAME} |
114 | 133 | POST_BUILD |
115 | 134 | COMMAND ${CMAKE_COMMAND} -E copy_directory |
116 | 135 | ${CMAKE_SOURCE_DIR}/build_folder_reference/ |
@@ -158,7 +177,7 @@ if (WIN32 AND NOT DEFINED CMAKE_TOOLCHAIN_FILE) |
158 | 177 | "${QT_INSTALL_PATH}/bin/Qt5${QT_LIB}${DEBUG_SUFFIX}.dll" |
159 | 178 | "$<TARGET_FILE_DIR:${PROJECT_NAME}>") |
160 | 179 | endforeach (QT_LIB) |
161 | | - if (${DEPLOY_DEPENDENCY}) |
| 180 | + if (DEFINED DEPLOY_DEPENDENCY) |
162 | 181 | set(DEPLOY_COMMAND deployment/deploy_windows.bat ${DEPLOY_DEPENDENCY}) |
163 | 182 | add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD |
164 | 183 | COMMAND ${DEPLOY_COMMAND} |
|
0 commit comments