mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
55 lines
827 B
CMake
55 lines
827 B
CMake
set(LAUNCHER
|
|
datafilespage.cpp
|
|
lineedit.cpp
|
|
main.cpp
|
|
maindialog.cpp
|
|
playpage.cpp
|
|
|
|
datafilespage.hpp
|
|
lineedit.hpp
|
|
maindialog.hpp
|
|
playpage.hpp
|
|
combobox.hpp
|
|
)
|
|
|
|
SET(MOC_HDRS
|
|
datafilespage.hpp
|
|
lineedit.hpp
|
|
maindialog.hpp
|
|
playpage.hpp
|
|
combobox.hpp
|
|
)
|
|
|
|
source_group(apps\\launcher FILES ${ESMTOOL})
|
|
|
|
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}
|
|
${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)
|