Commit d8a6abf5 authored by Guillaume Pasero's avatar Guillaume Pasero

COMP: missing various headers, moc, dependencies

parent 14ba519f
......@@ -38,6 +38,7 @@ add_library( OTBMonteverdi
target_link_libraries( OTBMonteverdi
${OTBMonteverdiCore_LIBRARIES}
${OTBMonteverdiGUI_LIBRARIES}
${OTBQt4_LIBRARIES}
)
otb_module_target( OTBMonteverdi )
......
......@@ -30,18 +30,54 @@ set( OTBMonteverdiCore_SRCS
mvdVisibleInterface.cxx
)
set( OTBMonteverdiCore_HEADERS_MOC
../include/mvdAbstractImageModel.h
../include/mvdAbstractLayerModel.h
../include/mvdAbstractModel.h
../include/mvdAbstractWorker.h
# ../include/mvdAlgorithm.h
../include/mvdBackgroundTask.h
# ../include/mvdCore.h
# ../include/mvdDatabaseConnection.h
# ../include/mvdDatabaseError.h
# ../include/mvdDatabaseModel.h
# ../include/mvdDatabaseQueries.h
# ../include/mvdDatasetDescriptor.h
# ../include/mvdDatasetModel.h
../include/mvdHistogramModel.h
../include/mvdI18nCoreApplication.h
../include/mvdImageImporter.h
../include/mvdImagePlacenameLoader.h
# ../include/mvdImageProperties.h
# ../include/mvdMath.h
../include/mvdMyClass.h
../include/mvdOverviewBuilder.h
../include/mvdQuicklookModel.h
../include/mvdStackedLayerModel.h
# ../include/mvdSystemError.h
# ../include/mvdTypes.h
../include/mvdVectorImageModel.h
)
#############################################################################
if( OTBApplicationEngine_ENABLED )
list( APPEND OTBMonteverdiCore_SRCS
mvdApplicationsBrowser.cxx
)
list( APPEND OTBMonteverdiCore_HEADERS_MOC
../include/mvdApplicationsBrowser.h
)
endif()
#############################################################################
add_library( OTBMonteverdiCore ${OTBMonteverdiCore_SRCS} )
qt4_wrap_cpp( OTBMonteverdiCore_SRC_MOC ${OTBMonteverdiCore_HEADERS_MOC} )
add_library( OTBMonteverdiCore ${OTBMonteverdiCore_SRCS} ${OTBMonteverdiCore_SRC_MOC})
#############################################################################
target_link_libraries( OTBMonteverdiCore
${OTBApplicationEngine_LIBRARIES}
${OTBCarto_LIBRARIES}
${OTBCommon_LIBRARIES}
${OTBImageBase_LIBRARIES}
......
......@@ -130,10 +130,15 @@ if( OTBQtWidget_ENABLED )
mvdApplicationsToolBox.cxx
mvdApplicationsToolBoxController.cxx
mvdOTBApplicationsModel.cxx
mvdQtWidgetView.cxx
)
list( APPEND OTBMonteverdiGUI_HEADERS_MOC
../include/mvdApplicationLauncher.h
../include/mvdApplicationsToolBox.h
../include/mvdApplicationsToolBoxController.h
../include/mvdOTBApplicationsModel.h
../include/mvdQtWidgetView.h
)
list( APPEND OTBMonteverdiGUI_FORMS
......@@ -164,6 +169,7 @@ target_link_libraries( OTBMonteverdiGUI
${OTBIce_LIBRARIES}
${OTBIOGDAL_LIBRARIES}
${OTBMonteverdiCore_LIBRARIES}
${OTBQtWidget_LIBRARIES}
${OTBQwt_LIBRARIES}
)
......
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