Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit bae23061 authored by promayon's avatar promayon
Browse files

NEW wizard is an application!

NEW coreschema is an independant tool

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@87 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 02309f13
application_extension(NEEDS_XSD
NEEDS_XERCESC
NEEDS_TOOL coreschema)
if(APPLICATION_WIZARD)
# Find Qt4 specific for the wizard because it needs the XML lib
# by default only QtCore and QtGui modules are enabled
# other modules must be enabled like this:
set (QT_USE_QT3SUPPORT OFF)
set (QT_USE_QTWEBKIT ON)
set (QT_USE_QTXML ON)
set (QT_USE_QTXMLPATTERNS ON)
if (WIN32)
set (QT_USE_QTMAIN ON)
endif (WIN32)
find_package(Qt4 REQUIRED)
if(QT_USE_FILE)
INCLUDE(${QT_USE_FILE})
else(QT_USE_FILE)
set(QT_LIBRARIES ${QT_QT_LIBRARY})
endif(QT_USE_FILE)
ADD_DEFINITIONS(
-DQT_GUI_LIB
-DQT_CORE_LIB
-DQT_GUI_LIBS
-DQT_CORE_LIB
)
target_link_libraries(application-wizard ${QT_LIBRARIES})
endif()
if (FALSE)
project(applicationwizard)
cmake_minimum_required(VERSION 2.6)
# dependencies
find_package(XSD REQUIRED)
find_package(XercesC REQUIRED)
# the name of the C++ library generated by the XML Schema
set(SCHEMA_NAME "coreschema")
......@@ -96,4 +139,7 @@ add_dependencies(wizard ${SCHEMA_NAME})
install(TARGETS wizard
RUNTIME DESTINATION bin
COMPONENT wizard
)
\ No newline at end of file
)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment