Multi-Qt building

git-svn-id: svn://db.shs.com.ru/libs@250 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
2017-08-03 08:09:44 +00:00
parent 96935ebb4a
commit 0834c45c90
78 changed files with 410 additions and 249 deletions

View File

@@ -1,5 +1,5 @@
if(NOT LIBPROJECT)
include(QtProject)
include(QtWraps)
endif()
set(_SEARCH_DIR)
if(WIN32)
@@ -24,10 +24,15 @@ foreach(_Q ${_QAD_LIBS})
set(QAD_${_QU}_LIBRARY qad_${_Q})
list(APPEND QAD_INCLUDES ${QAD_DIR}/${_Q})
else()
find_library(QAD_${_QU}_LIBRARY qad_${_Q} ${_SEARCH_DIR})
foreach(_v ${_QT_VERSIONS_})
find_library(QAD${_v}_${_QU}_LIBRARY qad_${_Q}${_v} ${_SEARCH_DIR})
endforeach()
endif()
#message(STATUS "Library ${_Q} (${_QU}) -> ${QAD_${_QU}_LIBRARY} found in ${_SEARCH_DIR}")
endforeach()
if(NOT LIBPROJECT)
message(STATUS "Found QAD")
if (NOT _QAD_MSG)
set(_QAD_MSG 1 CACHE BOOL "msg_qad" FORCE)
message(STATUS "Found QAD")
endif()
endif()