2011-03-28 23:36:26 +00:00
|
|
|
set(LAUNCHER
|
2011-04-07 21:57:03 +00:00
|
|
|
datafilespage.cpp
|
2011-03-28 23:36:26 +00:00
|
|
|
lineedit.cpp
|
|
|
|
main.cpp
|
|
|
|
maindialog.cpp
|
2011-04-07 21:57:03 +00:00
|
|
|
playpage.cpp
|
|
|
|
|
|
|
|
datafilespage.hpp
|
|
|
|
lineedit.hpp
|
|
|
|
maindialog.hpp
|
|
|
|
playpage.hpp
|
2011-04-25 04:08:05 +00:00
|
|
|
combobox.hpp
|
2011-03-28 23:36:26 +00:00
|
|
|
)
|
|
|
|
|
2011-04-25 05:02:07 +00:00
|
|
|
set(MOC_HDRS
|
2011-04-07 21:57:03 +00:00
|
|
|
datafilespage.hpp
|
|
|
|
lineedit.hpp
|
|
|
|
maindialog.hpp
|
|
|
|
playpage.hpp
|
2011-04-25 04:08:05 +00:00
|
|
|
combobox.hpp
|
2011-03-28 23:36:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
find_package(Qt4 REQUIRED)
|
|
|
|
set(QT_USE_QTGUI 1)
|
|
|
|
|
|
|
|
QT4_ADD_RESOURCES(RCC_SRCS resources.qrc)
|
|
|
|
QT4_WRAP_CPP(MOC_SRCS ${MOC_HDRS})
|
|
|
|
|
|
|
|
include(${QT_USE_FILE})
|
|
|
|
|
|
|
|
# Main executable
|
|
|
|
add_executable(launcher
|
|
|
|
${LAUNCHER}
|
|
|
|
${MISC} ${MISC_HEADER}
|
2011-04-28 20:23:42 +00:00
|
|
|
${FILES} ${FILES_HEADER}
|
2011-03-28 23:36:26 +00:00
|
|
|
${TO_UTF8}
|
|
|
|
${ESM}
|
|
|
|
${RCC_SRCS}
|
|
|
|
${MOC_SRCS}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(launcher
|
|
|
|
${Boost_LIBRARIES}
|
|
|
|
${OGRE_LIBRARIES}
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if (APPLE)
|
|
|
|
# find_library(CARBON_FRAMEWORK Carbon)
|
|
|
|
# target_link_libraries(openmw ${CARBON_FRAMEWORK})
|
|
|
|
#endif (APPLE)
|