1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/apps/launcher/CMakeLists.txt

54 lines
807 B
Text
Raw Normal View History

2011-03-28 23:36:26 +00:00
set(LAUNCHER
datafilespage.cpp
2011-03-28 23:36:26 +00:00
lineedit.cpp
main.cpp
maindialog.cpp
playpage.cpp
datafilespage.hpp
lineedit.hpp
maindialog.hpp
playpage.hpp
combobox.hpp
2011-03-28 23:36:26 +00:00
)
set(MOC_HDRS
datafilespage.hpp
lineedit.hpp
maindialog.hpp
playpage.hpp
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}
${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)