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