2013-02-03 13:30:40 +01:00
|
|
|
set (OPENCS_SRC main.cpp)
|
2012-11-21 17:31:18 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units (. editor)
|
2012-11-22 13:30:02 +01:00
|
|
|
|
2013-05-07 20:33:42 -05:00
|
|
|
set (CMAKE_BUILD_TYPE DEBUG)
|
2012-11-24 11:01:53 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units (model/doc
|
|
|
|
document
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (model/doc
|
|
|
|
documentmanager
|
|
|
|
)
|
2012-12-08 11:59:13 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_hdrs_noqt (model/doc
|
|
|
|
state
|
|
|
|
)
|
2012-11-24 13:17:21 +01:00
|
|
|
|
2012-12-11 15:35:47 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units (model/world
|
|
|
|
idtable idtableproxymodel
|
2012-11-21 17:31:18 +01:00
|
|
|
)
|
|
|
|
|
2012-11-22 13:30:02 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units_noqt (model/world
|
2013-06-17 14:28:09 +02:00
|
|
|
universalid data record commands columnbase scriptcontext cell refidcollection
|
2013-07-06 17:03:18 +02:00
|
|
|
refidadapter refiddata refidadapterimp ref collectionbase refcollection
|
2013-02-03 13:30:40 +01:00
|
|
|
)
|
2012-11-22 13:30:02 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_hdrs_noqt (model/world
|
2013-06-17 14:28:09 +02:00
|
|
|
columns idcollection collection
|
2012-11-21 17:31:18 +01:00
|
|
|
)
|
2012-11-24 11:01:53 +01:00
|
|
|
|
2012-12-08 11:59:13 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units (model/tools
|
|
|
|
tools operation reportmodel
|
|
|
|
)
|
2012-11-22 13:30:02 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units_noqt (model/tools
|
2013-04-07 19:39:13 +02:00
|
|
|
stage verifier mandatoryid skillcheck classcheck factioncheck racecheck soundcheck regioncheck
|
2013-04-09 12:44:49 +02:00
|
|
|
birthsigncheck spellcheck
|
2013-02-03 13:30:40 +01:00
|
|
|
)
|
2012-11-24 11:01:53 +01:00
|
|
|
|
2012-12-08 11:59:13 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units (view/doc
|
2013-03-07 03:00:59 +01:00
|
|
|
viewmanager view operations operation subview startup filedialog
|
2013-02-03 13:30:40 +01:00
|
|
|
)
|
2012-11-24 13:17:21 +01:00
|
|
|
|
2012-12-11 15:35:47 +01:00
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_units_noqt (view/doc
|
|
|
|
subviewfactory
|
2012-11-21 17:31:18 +01:00
|
|
|
)
|
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
opencs_hdrs_noqt (view/doc
|
|
|
|
subviewfactoryimp
|
2012-11-21 17:31:18 +01:00
|
|
|
)
|
|
|
|
|
2013-02-03 13:30:40 +01:00
|
|
|
|
|
|
|
opencs_units (view/world
|
2013-04-10 20:14:10 +02:00
|
|
|
table tablesubview scriptsubview
|
2013-02-03 13:30:40 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (view/world
|
2013-04-10 22:49:22 +02:00
|
|
|
dialoguesubview util subviews enumdelegate vartypedelegate scripthighlighter
|
2013-02-03 13:30:40 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
opencs_units (view/tools
|
|
|
|
reportsubview
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (view/tools
|
|
|
|
subviews
|
|
|
|
)
|
|
|
|
|
2013-05-10 10:00:58 -05:00
|
|
|
opencs_units (view/settings
|
2013-05-07 20:33:42 -05:00
|
|
|
abstractblock
|
2013-05-11 05:55:46 -05:00
|
|
|
proxyblock
|
|
|
|
abstractwidget
|
2013-05-07 20:33:42 -05:00
|
|
|
usersettingsdialog
|
2013-05-11 05:55:46 -05:00
|
|
|
editorpage
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (view/settings
|
2013-05-07 20:33:42 -05:00
|
|
|
abstractpage
|
|
|
|
blankpage
|
2013-05-11 05:55:46 -05:00
|
|
|
groupblock
|
|
|
|
customblock
|
|
|
|
groupbox
|
|
|
|
itemblock
|
|
|
|
settingwidget
|
|
|
|
toggleblock
|
|
|
|
support
|
2013-05-07 20:33:42 -05:00
|
|
|
)
|
|
|
|
|
2013-05-10 10:00:58 -05:00
|
|
|
opencs_units (model/settings
|
2013-05-12 15:15:57 -05:00
|
|
|
usersettings
|
2013-05-10 10:00:58 -05:00
|
|
|
settingcontainer
|
|
|
|
)
|
|
|
|
|
|
|
|
opencs_units_noqt (model/settings
|
2013-05-07 20:33:42 -05:00
|
|
|
support
|
2013-05-11 05:55:46 -05:00
|
|
|
settingsitem
|
2013-05-07 20:33:42 -05:00
|
|
|
)
|
2013-02-03 13:30:40 +01:00
|
|
|
|
2012-11-21 17:31:18 +01:00
|
|
|
set (OPENCS_US
|
|
|
|
)
|
|
|
|
|
2013-02-17 07:46:50 -06:00
|
|
|
set (OPENCS_RES ../../files/opencs/resources.qrc
|
2013-03-07 03:00:59 +01:00
|
|
|
../../files/launcher/launcher.qrc
|
|
|
|
)
|
|
|
|
|
|
|
|
set (OPENCS_UI ../../files/ui/datafilespage.ui
|
2012-11-21 17:31:18 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
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})
|
2013-02-03 13:30:40 +01:00
|
|
|
qt4_wrap_cpp(OPENCS_MOC_SRC ${OPENCS_HDR_QT})
|
2012-11-21 17:31:18 +01:00
|
|
|
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
|
2013-02-17 07:46:50 -06:00
|
|
|
)
|