|
|
|
|
|
|
|
set (OPENCS_SRC main.cpp)
|
|
|
|
|
|
|
|
opencs_units (. editor)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (model/doc
|
|
|
|
document
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (model/doc
|
|
|
|
documentmanager
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_hdrs_noqt (model/doc
|
|
|
|
state
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (model/world
|
|
|
|
idtable idtableproxymodel
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units_noqt (model/world
|
|
|
|
universalid data record idcollection commands columnbase
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_hdrs_noqt (model/world
|
|
|
|
columns
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (model/tools
|
|
|
|
tools operation reportmodel
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (model/tools
|
|
|
|
stage verifier mandatoryid
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (view/doc
|
|
|
|
viewmanager view operations operation subview startup opendialog
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units_noqt (view/doc
|
|
|
|
subviewfactory
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_hdrs_noqt (view/doc
|
|
|
|
subviewfactoryimp
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (view/world
|
|
|
|
table tablesubview
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (view/world
|
|
|
|
dialoguesubview util subviews enumdelegate vartypedelegate
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (view/tools
|
|
|
|
reportsubview
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (view/tools
|
|
|
|
subviews
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
set (OPENCS_US
|
|
|
|
)
|
|
|
|
|
|
|
|
set (OPENCS_RES ../../files/opencs/resources.qrc
|
|
|
|
)
|
|
|
|
|
|
|
|
source_group (opencs FILES ${OPENCS_SRC} ${OPENCS_HDR})
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
set(QT_USE_QTMAIN TRUE)
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
find_package(Qt4 COMPONENTS QtCore QtGui QtXml QtXmlPatterns REQUIRED)
|
|
|
|
include(${QT_USE_FILE})
|
|
|
|
|
|
|
|
qt4_wrap_ui(OPENCS_UI_HDR ${OPENCS_UI})
|
|
|
|
qt4_wrap_cpp(OPENCS_MOC_SRC ${OPENCS_HDR_QT})
|
|
|
|
qt4_add_resources(OPENCS_RES_SRC ${OPENCS_RES})
|
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
|
|
add_executable(opencs
|
|
|
|
${OPENCS_SRC}
|
|
|
|
${OPENCS_UI_HDR}
|
|
|
|
${OPENCS_MOC_SRC}
|
|
|
|
${OPENCS_RES_SRC}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(opencs
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
components
|
|
|
|
)
|