2012-05-18 02:45:23 -05:00
|
|
|
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
|
|
|
|
2013-10-28 04:30:11 -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
|
2012-10-09 04:26:50 -05:00
|
|
|
cafPdmUiDoubleSliderEditor.h
|
2013-04-03 09:06:00 -05:00
|
|
|
cafPdmUiTextEditor.h
|
2012-10-09 04:26:50 -05:00
|
|
|
|
2012-06-26 09:10:41 -05:00
|
|
|
cafPdmUiColorEditor.h
|
|
|
|
|
|
|
|
cafPdmUiPropertyView.h
|
2013-10-28 05:58:49 -05:00
|
|
|
cafPdmUiPropertyDialog.h
|
2013-09-02 01:14:29 -05:00
|
|
|
cafPdmUiTreeView.h
|
2014-04-11 04:06:42 -05:00
|
|
|
cafPdmUiTreeViewModel.h
|
2013-09-04 05:08:39 -05:00
|
|
|
cafPdmUiListView.h
|
|
|
|
cafPdmUiListViewEditor.h
|
2012-05-18 02:45:23 -05:00
|
|
|
)
|
|
|
|
|
2012-09-18 08:21:04 -05:00
|
|
|
if ( (${CMAKE_VERSION} VERSION_LESS 2.8.6) OR (NOT CMAKE_AUTOMOC) )
|
|
|
|
qt4_wrap_cpp( MOC_FILES_CPP ${QOBJECT_HEADERS} )
|
|
|
|
endif()
|
2012-05-18 02:45:23 -05:00
|
|
|
|
|
|
|
|
|
|
|
add_library( ${PROJECT_NAME}
|
2013-10-31 08:57:52 -05:00
|
|
|
cafAboutDialog.cpp
|
|
|
|
cafAboutDialog.h
|
2013-10-28 04:30:11 -05:00
|
|
|
cafPdmSettings.cpp
|
2013-08-30 08:35:28 -05:00
|
|
|
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
|
2013-09-04 05:08:39 -05:00
|
|
|
cafPdmUiListViewEditor.cpp
|
|
|
|
cafPdmUiListViewEditor.h
|
|
|
|
cafPdmUiListView.cpp
|
2013-10-28 05:58:49 -05:00
|
|
|
cafPdmUiPropertyDialog.cpp
|
|
|
|
cafPdmUiPropertyDialog.h
|
2013-08-30 08:35:28 -05:00
|
|
|
cafPdmUiPropertyView.cpp
|
|
|
|
cafPdmUiPropertyView.h
|
|
|
|
cafPdmUiPushButtonEditor.cpp
|
|
|
|
cafPdmUiPushButtonEditor.h
|
|
|
|
cafPdmUiSliderEditor.cpp
|
|
|
|
cafPdmUiSliderEditor.h
|
|
|
|
cafPdmUiTextEditor.cpp
|
|
|
|
cafPdmUiTextEditor.h
|
2013-09-02 01:14:29 -05:00
|
|
|
cafPdmUiTreeViewEditor.cpp
|
|
|
|
cafPdmUiTreeViewEditor.h
|
2014-04-11 04:06:42 -05:00
|
|
|
cafPdmUiTreeViewModel.cpp
|
|
|
|
cafPdmUiTreeViewModel.h
|
2013-09-04 05:08:39 -05:00
|
|
|
cafPdmUiTreeView.cpp
|
2012-06-26 09:10:41 -05:00
|
|
|
cafProgressInfo.cpp
|
2013-08-30 08:35:28 -05:00
|
|
|
cafProgressInfo.h
|
|
|
|
cafUiProcess.cpp
|
|
|
|
cafUiProcess.h
|
|
|
|
cafUiTreeModelPdm.cpp
|
|
|
|
cafUiTreeModelPdm.h
|
2012-06-26 09:10:41 -05:00
|
|
|
|
2012-05-18 02:45:23 -05:00
|
|
|
${MOC_FILES_CPP}
|
|
|
|
)
|