mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 10:36:42 +00:00
Cleaned up the CMakeList file
This commit is contained in:
parent
7099aeda2e
commit
15df25f947
1 changed files with 44 additions and 42 deletions
|
@ -1,44 +1,46 @@
|
||||||
set(LAUNCHER
|
set(LAUNCHER
|
||||||
datafilespage.cpp
|
datafilespage.cpp
|
||||||
|
graphicspage.cpp
|
||||||
lineedit.cpp
|
lineedit.cpp
|
||||||
main.cpp
|
main.cpp
|
||||||
maindialog.cpp
|
maindialog.cpp
|
||||||
playpage.cpp
|
|
||||||
graphicspage.cpp
|
|
||||||
naturalsort.cpp
|
naturalsort.cpp
|
||||||
|
playpage.cpp
|
||||||
pluginsmodel.cpp
|
pluginsmodel.cpp
|
||||||
pluginsview.cpp
|
pluginsview.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
set(LAUNCHER_HEADER
|
||||||
|
combobox.hpp
|
||||||
datafilespage.hpp
|
datafilespage.hpp
|
||||||
|
graphicspage.hpp
|
||||||
lineedit.hpp
|
lineedit.hpp
|
||||||
maindialog.hpp
|
maindialog.hpp
|
||||||
playpage.hpp
|
|
||||||
combobox.hpp
|
|
||||||
graphicspage.hpp
|
|
||||||
naturalsort.hpp
|
naturalsort.hpp
|
||||||
|
playpage.hpp
|
||||||
pluginsmodel.hpp
|
pluginsmodel.hpp
|
||||||
pluginsview.hpp
|
pluginsview.hpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(MOC_HDRS
|
# Headers that must be pre-processed
|
||||||
|
set(LAUNCHER_HEADER_MOC
|
||||||
|
combobox.hpp
|
||||||
datafilespage.hpp
|
datafilespage.hpp
|
||||||
|
graphicspage.hpp
|
||||||
lineedit.hpp
|
lineedit.hpp
|
||||||
maindialog.hpp
|
maindialog.hpp
|
||||||
playpage.hpp
|
playpage.hpp
|
||||||
combobox.hpp
|
|
||||||
graphicspage.hpp
|
|
||||||
|
|
||||||
pluginsmodel.hpp
|
pluginsmodel.hpp
|
||||||
pluginsview.hpp
|
pluginsview.hpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
source_group(launcher FILES ${LAUNCHER} ${LAUNCHER_HEADER} ${LAUNCHER_HEADER_MOC})
|
||||||
|
|
||||||
find_package(Qt4 REQUIRED)
|
find_package(Qt4 REQUIRED)
|
||||||
set(QT_USE_QTGUI 1)
|
set(QT_USE_QTGUI 1)
|
||||||
|
|
||||||
QT4_ADD_RESOURCES(RCC_SRCS resources.qrc)
|
QT4_ADD_RESOURCES(RCC_SRCS resources.qrc)
|
||||||
QT4_WRAP_CPP(MOC_SRCS ${MOC_HDRS})
|
QT4_WRAP_CPP(MOC_SRCS ${LAUNCHER_HEADER_MOC})
|
||||||
|
|
||||||
include(${QT_USE_FILE})
|
include(${QT_USE_FILE})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue