Mercurial > projects > qtd
changeset 243:e4cbe1e9ded6
Reenabled selective generation of modules.
author | SokoL_SD |
---|---|
date | Mon, 20 Jul 2009 10:03:56 +0000 |
parents | f2f4c9cbadc2 |
children | 405f49532492 |
files | CMakeLists.txt |
diffstat | 1 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Jul 20 09:33:10 2009 +0000 +++ b/CMakeLists.txt Mon Jul 20 10:03:56 2009 +0000 @@ -94,7 +94,9 @@ string(TOLOWER ${package_big} package) string(TOUPPER ${package_big} package_upper) option(BUILD_QT_${package_upper} "Build Qt${package_big}" "ON") - set(packages ${packages} ${package}) + if(BUILD_QT_${package_upper}) + set(packages ${packages} ${package}) + endif(BUILD_QT_${package_upper}) endforeach(package_big ${all_packages}) add_subdirectory(generator) @@ -287,7 +289,7 @@ if(UIC_tmp) if(NOT BUILD_TOOLS) - message(STATUS "Example '${name}' required drcc. Example will not build") + message(STATUS "Example '${name}' require drcc. Example will not build") return(build_example name) endif(NOT BUILD_TOOLS) qtd_wrap_ui(uic_sources ${UIC_tmp}) @@ -304,7 +306,7 @@ endif(${req} STREQUAL ${package_big}) endforeach(package_big ${packages_big}) if(NOT is_founded) - message(STATUS "Example '${name}' required package '${req}', but its not active. Example will not build") + message(STATUS "Example '${name}' require the package '${req}', but it is not active. Example will not build") return(build_example name) else(NOT is_founded) set(qtd_libs ${${package}_lib_param} ${qtd_libs}) @@ -367,9 +369,9 @@ endif(${pack} STREQUAL ${req}) endforeach(pack ${all_packages}) if(req_found) - message(STATUS "Package '${package_big}' required '${req}', but its not active") + message(STATUS "Package '${package_big}' require '${req}', but it is not active") else(req_found) - message(STATUS "Package '${package_big}' required '${req}', but its not found") + message(STATUS "Package '${package_big}' require '${req}', but it is not found") endif(req_found) set(all_req_found) endif(NOT req_found) @@ -456,7 +458,7 @@ endif("${pack}" STREQUAL "${req}") endforeach(pack ${packages_big}) if(NOT is_found) - message(FATAL_ERROR "Package ${package_big} required ${req}, but its not found") + message(FATAL_ERROR "Package ${package_big} require ${req}, but it is not found") endif(NOT is_found) string(TOUPPER ${req} req_upper) string(TOLOWER ${req} req_lower)