ResInsight/Fwk/AppFwk/cafUserInterface/CMakeLists.txt

87 lines
1.9 KiB
CMake
Raw Normal View History

cmake_minimum_required (VERSION 2.8)
project (cafUserInterface)
include_directories(
${cafProjectDataModel_SOURCE_DIR}
)
# These headers need to go through Qt's MOC compiler
set( QOBJECT_HEADERS
cafUiTreeModelPdm.h
cafUiProcess.h
2012-06-26 09:10:41 -05:00
cafPdmSettings.h
2012-06-26 09:10:41 -05:00
cafPdmUiLineEditor.h
cafPdmUiCheckBoxEditor.h
cafPdmUiComboBoxEditor.h
2012-08-31 12:12:47 -05:00
cafPdmUiPushButtonEditor.h
2012-06-26 09:10:41 -05:00
cafPdmUiFilePathEditor.h
cafPdmUiListEditor.h
cafPdmUiSliderEditor.h
cafPdmUiDoubleSliderEditor.h
cafPdmUiTextEditor.h
2012-06-26 09:10:41 -05:00
cafPdmUiColorEditor.h
cafPdmUiPropertyView.h
2013-10-28 05:58:49 -05:00
cafPdmUiPropertyDialog.h
cafPdmUiTreeView.h
cafPdmUiTreeViewModel.h
cafPdmUiListView.h
cafPdmUiListViewEditor.h
)
if ( (${CMAKE_VERSION} VERSION_LESS 2.8.6) OR (NOT CMAKE_AUTOMOC) )
qt4_wrap_cpp( MOC_FILES_CPP ${QOBJECT_HEADERS} )
endif()
add_library( ${PROJECT_NAME}
cafAboutDialog.cpp
cafAboutDialog.h
cafPdmSettings.cpp
cafPdmUiCheckBoxEditor.cpp
cafPdmUiCheckBoxEditor.h
cafPdmUiColorEditor.cpp
cafPdmUiColorEditor.h
cafPdmUiComboBoxEditor.cpp
cafPdmUiComboBoxEditor.h
cafPdmUiDefaultObjectEditor.cpp
cafPdmUiDefaultObjectEditor.h
cafPdmUiDoubleSliderEditor.cpp
cafPdmUiDoubleSliderEditor.h
cafPdmUiFilePathEditor.cpp
cafPdmUiFilePathEditor.h
cafPdmUiLineEditor.cpp
cafPdmUiLineEditor.h
cafPdmUiListEditor.cpp
cafPdmUiListEditor.h
cafPdmUiListViewEditor.cpp
cafPdmUiListViewEditor.h
cafPdmUiListView.cpp
2013-10-28 05:58:49 -05:00
cafPdmUiPropertyDialog.cpp
cafPdmUiPropertyDialog.h
cafPdmUiPropertyView.cpp
cafPdmUiPropertyView.h
cafPdmUiPushButtonEditor.cpp
cafPdmUiPushButtonEditor.h
cafPdmUiSliderEditor.cpp
cafPdmUiSliderEditor.h
cafPdmUiTextEditor.cpp
cafPdmUiTextEditor.h
cafPdmUiTreeViewEditor.cpp
cafPdmUiTreeViewEditor.h
cafPdmUiTreeViewModel.cpp
cafPdmUiTreeViewModel.h
cafPdmUiTreeView.cpp
2012-06-26 09:10:41 -05:00
cafProgressInfo.cpp
cafProgressInfo.h
cafUiProcess.cpp
cafUiProcess.h
cafUiTreeModelPdm.cpp
cafUiTreeModelPdm.h
2012-06-26 09:10:41 -05:00
${MOC_FILES_CPP}
)