#-------------------------------------------------
#
# Project created by QtCreator 2010-12-22T21:58:04
#
#-------------------------------------------------
#============================================================
#QtCreator stuff:
CONFIG += qt
QT += gui widgets
#============================================================
#Adds the .pro file trickery, to make sure we can use the 'debug' .pro variable.
include(debugFixer.pri)
#============================================================
#WARNING: When running a program, don't mix debug and release libraries.
#Location of linker libraries:
LIBS += -L"D:/MinGW/QtSetup/lib"
#Library header paths:
INCLUDEPATH = "D:/MinGW/QtSetup/include" \
"./"
#============================================================
#Folder to stick the executable in and the executable name:
DESTDIR = "../../Project/Bin"
#Executable name:
TARGET = Game
#============================================================
#Pre-compile the header.
#PRECOMPILED_HEADER = Common/Basics.h
#============================================================
#Question: Why are my executables so large?
#Answer: http://w...content-available-to-author-only...w.org/wiki/Large_executables
#Adds C++11 features to the compiler.
QMAKE_CXXFLAGS_DEBUG += -std=c++11
QMAKE_CXXFLAGS_RELEASE += -std=c++11
#Adds profiling support if in debug mode.
#QMAKE_CXXFLAGS_DEBUG += -pg
#QMAKE_LFLAGS_DEBUG += -pg
#Keeps the temporary "between the steps" files while building. This allows me to look at the pre-processor files (after the macroes are
#resolved, but before the C++ code is compiled). These files are in the build directory with the file extension ".ii".
#QMAKE_CXXFLAGS_DEBUG += -save-temps
#C++ standard library:
#LIBS += -static-libgcc -static-libstdc++
#Adds GCC optimization (at the expense of compile time) when compiling in release mode.
#QMAKE_CXXFLAGS_RELEASE += -O3
#Turn off optimization for debugging, so compiling is faster.
QMAKE_CXXFLAGS_DEBUG += -O0
#Multi-core compiling.
QMAKE_CFLAGS_DEBUG += -j
#Warnings when using pre-compiled headers: (?? Causes compilation errors for me. Not sure why)
#QMAKE_CXXFLAGS_DEBUG += -Winvalid-pch
#THIS IS TEMP: Comment out from the final release.
#It's only purpose is to allow profiling output when in release mode, so I can optimize the code.
#QMAKE_CXXFLAGS_RELEASE += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
#QMAKE_LFLAGS_RELEASE += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
#THIS IS TEMP: Comment out from the final release.
#It's only purpose is to allow profiling output when in debug mode, so I can optimize the code.
#QMAKE_CXXFLAGS_DEBUG += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
#QMAKE_LFLAGS_DEBUG += -pg -g -fno-omit-frame-pointer -O2 -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls
#Turn on Scott Meyer's Effective C++ suggested warnings:
#(See: http://stackoverflow.com/questions/8174127/the-effective-c-warnings-in-mingw )
#QMAKE_CXXFLAGS_DEBUG += -Weffc++
#Turns on strict-aliasing and warnings for strict-aliasing.
#Adds GCC warn-about-every-little-coding-mistake when compiling.
#(See: http://c...content-available-to-author-only...d.com/articles/2006/06/understanding-strict-aliasing.html )
QMAKE_CXXFLAGS_DEBUG += -Wall -fstrict-aliasing -Wstrict-aliasing
#-pedantic
#========================================================================================================================
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#========================================================================================================================
HEADERS += \
#==================================
#Common:
Common/Basics.h \
#------------------------
#Common-Types:
Common/Types/Types.h \
Common/Types/Image.h \
Common/Types/Time.h \
Common/Types/FormattedTime.h \
Common/Types/ConfigFile.h \
Common/Types/RichTextFile.h \
Common/Types/WindowSize.h \
#------------------------
#Common-Types-Basic:
Common/Types/Basic/BasicTypes.h \
Common/Types/Basic/Point.h \
Common/Types/Basic/Color.h \
Common/Types/Basic/Size.h \
Common/Types/Basic/Orientation.h \
Common/Types/Basic/Fraction.h \
Common/Types/Basic/Rect.h \
Common/Types/Basic/RelativeRect.h \
Common/Types/Basic/RelativePoint.h \
Common/Types/Basic/RelativeSize.h \
Common/Types/Basic/Alignment.h \
Common/Types/Basic/OverridableState.h \
#------------------------
#Common-Assorted:
Common/Assorted/MessageBox.h \
Common/Assorted/BytePacker.h \
Common/Assorted/ObjectManager.h \
Common/Assorted/ResourceCache.h \
Common/Assorted/ColorBlending.h \
Common/Assorted/Tokenizer.h \
Common/Assorted/ConstructionCounter.h \
Common/Assorted/CSV.h \
Common/Assorted/PathResolver.h \
Common/Assorted/WriteStruct.h \
#------------------------
#Common-Assorted-CodeCreator:
Common/Assorted/CodeCreator/ByteCodeCompiler.h \
Common/Assorted/CodeCreator/ByteCodeExecutor.h \
#------------------------
#Common-Algorithm:
Common/Algorithm/Algorithms.h \
Common/Algorithm/Permutation.h \
Common/Algorithm/ContainerHelpers.h \
Common/Algorithm/Easing.h \
Common/Algorithm/Layout.h \
#------------------------
#Common-Image:
Common/Image/Bitmap.h \
#------------------------
#Common-GUI:
Common/GUI/RMGUI/AbstractWidget.h \
#------------------------
#Common-Containers:
Common/Containers/Grid.h \
Common/Containers/Array2D.h \
Common/Containers/DoubleLinkedList.h \
Common/Containers/MultiMapHelpers.h \
#------------------------
#Common-String:
Common/String/String.h \
Common/String/StringFlags.h \
Common/String/StringList.h \
Common/String/Formatting.h \
Common/String/Conversion.h \
Common/String/NumberFormatting.h \
Common/String/NumToWords.h \
Common/String/LevenshteinDistance.h \
Common/String/CharValidators.h \
Common/String/StringToMap.h \
Common/String/TemplatedConversion.h \
Common/String/StringLiterals.h \
#------------------------
#Common-Logger:
Common/Logger/Log.h \
Common/Logger/MessageSource.h \
Common/Logger/Message.h \
Common/Logger/Styles.h \
#------------------------
#Common-FileSystem:
Common/FileSystem/StructToFile.h \
Common/FileSystem/FileSystem.h \
Common/FileSystem/FileLoading.h \
Common/FileSystem/FileManagement.h \
Common/FileSystem/Filepath.h \
Common/FileSystem/PathFormatting.h \
#------------------------
#Common-Input:
Common/Input/InputManager.h \
Common/Input/InputCatcher.h \
Common/Input/CommandTrigger.h \
Common/Input/MovementPlane.h \
Common/Input/SFML_Input.h \
Common/Input/KeyTranslator.h \
Common/Input/InputEvent.h \
Common/Input/Command.h \
Common/Input/PlayerControls.h \
Common/Input/ButtonCache.h \
Common/Input/InputEventTranslator.h \
Common/Input/InputCoordMap.h \
Common/Input/ButtonPressCounterMap.h \
#------------------------
#Common-Logic:
#------------------------
#Common-Logic-Timing:
Common/Logic/Timing/RepeatCounter.h \
Common/Logic/Timing/GameTimer.h \
#------------------------
#Common-Logic-Undo:
Common/Logic/Undo/UndoAction.h \
Common/Logic/Undo/ActionStack.h \
#------------------------
#Common-Logic-GameState:
Common/Logic/GameState/GameState.h \
Common/Logic/GameState/GameStateManager.h \
Common/Logic/GameState/MoveableObject.h \
Common/Logic/GameState/CommandReceiver.h \
#------------------------
#Common-Logic-Property:
Common/Logic/Property/Property.h \
Common/Logic/Property/PropertyMap.h \
Common/Logic/Property/BasicPropertyTypes.h \
#------------------------
#Common-System:
Common/System/System.h \
Common/System/Pointers.h \
Common/System/ByteOrder.h \
Common/System/Exceptions.h \
Common/System/IntTypes.h \
Common/System/DefineAPI.h \
Common/System/DefineOS.h \
Common/System/SystemInfo.h \
Common/System/Comparison.h \
Common/System/ContainerReverse.h \
Common/System/Callstack.h \
Common/System/MagicNumbers.h \
Common/System/MemoryFunctions.h \
Common/System/RunTime.h \
Common/System/BitMaskFunctions.h \
Common/System/FastMath.h \
Common/System/DefineCompiler.h \
Common/System/DefineStandard.h \
Common/System/SystemEnvironment.h \
#------------------------
#Common-System-Macroes:
Common/System/Macroes/Macroes.h \
Common/System/Macroes/BuildNote.h \
Common/System/Macroes/EmptyHeaderFile.h \
Common/System/Macroes/DoPragma.h \
Common/System/Macroes/ToString.h \
Common/System/Macroes/StrongTypedef.h \
Common/System/Macroes/OnlyOnce.h \
Common/System/Macroes/Assert.h \
#==================================
#Engine:
Engine/Engine.h \
Engine/Global.h \
Engine/GlobalCommands.h \
#------------------------
#Engine-Platform
Engine/Platform/ScreenFormat.h \
Engine/Platform/ApplicationStructure.h \
#------------------------
#Engine-World:
Engine/World/AreaPath.h \
Engine/World/Area.h \
Engine/World/Floor.h \
Engine/World/Layer.h \
Engine/World/TileBlock.h \
Engine/World/WorldFunctions.h \
Engine/World/WorldCollider.h \
Engine/World/AreaVisibility.h \
Engine/World/TileAutoPlacement.h \
#------------------------
#Engine-World-Tile:
Engine/World/Tile/Tile.h \
Engine/World/Tile/TileInfo.h \
#------------------------
#Engine-World-Tile-TileDisplay:
Engine/World/Tile/TileDisplay/TileDisplay.h \
Engine/World/Tile/TileDisplay/TileImage.h \
Engine/World/Tile/TileDisplay/TileImageManager.h \
Engine/World/Tile/TileDisplay/LuaTile.h \
#------------------------
#Engine-World-Tile-TileDisplay-Other:
Engine/World/Tile/TileDisplay/Other/ImageData.h \
Engine/World/Tile/TileDisplay/Other/TileRenderer.h \
Engine/World/Tile/TileDisplay/Other/ImageDataCache.h \
#------------------------
#Engine-UndoActions:
Engine/UndoActions/TilePlacementAction.h \
Engine/UndoActions/FloodFillAction.h \
Engine/UndoActions/AbstractTileAction.h \
#------------------------
#Engine-Combat:
Engine/Combat/Combat.h \
#------------------------
#Engine-Weather:
Engine/Weather/Environment.h \
Engine/Weather/RainStorm.h \
Engine/Weather/LightRain.h \
#------------------------
#Engine-Structure:
Engine/Structure/GameFlags.h \
Engine/Structure/PlayerAnimations.h \
Engine/Structure/Avatar.h \
Engine/Structure/Camera.h \
Engine/Structure/GameStructure.h \
Engine/Structure/EditorInfo.h \
#------------------------
#Engine-GUI:
Engine/GUI/MenuButtons.h \
Engine/GUI/WorldZoomHud.h \
Engine/GUI/GuiImage.h \
#------------------------
#Engine-Other:
Engine/Other/StretchImage.h \
Engine/Other/Animator.h \
Engine/Other/Animation.h \
Engine/Other/BasicImage.h \
Engine/Other/MeasurementUnits.h \
Engine/Other/FileExtenions.h \
Engine/Other/PlacementMode.h \
#==================================
#Game:
#------------------------
#Game-State:
Game/State/RootState.h \
Game/State/Intro.h \
Game/State/Options.h \
Game/State/MainMenu.h \
Game/State/PlayingGame.h \
#------------------------
#Game-State-Intro:
Game/State/Intro/ImageLogo.h \
Game/State/Intro/VideoLogo.h \
#------------------------
#Game-State-Options:
Game/State/Options/Controls.h \
Game/State/Options/LoadGame.h \
Game/State/Options/SaveGame.h \
Game/State/Options/VideoSettings.h \
Game/State/Options/ContactDeveloper.h \
#------------------------
#Game-State-MainMenu:
Game/State/MainMenu/Credits.h \
Game/State/MainMenu/Specials.h \
Game/State/MainMenu/ExitGameConfirmation.h \
Game/State/MainMenu/TitleScreen.h \
#------------------------
#Game-State-MainMenu-Specials:
Game/State/MainMenu/Specials/WanderWithMe.h \
Game/State/MainMenu/Specials/Music.h \
Game/State/MainMenu/Specials/ConceptArt.h \
Game/State/MainMenu/Specials/Commentary.h \
Game/State/MainMenu/Specials/MeetTheDev.h \
#------------------------
#Game-State-PlayingGame:
Game/State/PlayingGame/Combat.h \
Game/State/PlayingGame/Exploring.h \
Game/State/PlayingGame/Exploring_old.h \
Game/State/PlayingGame/GameInterface.h \
#------------------------
#Game-State-PlayingGame-GameInterface:
Game/State/PlayingGame/GameInterface/Locations.h \
Game/State/PlayingGame/GameInterface/Quests.h \
Game/State/PlayingGame/GameInterface/ViewMap.h \
#------------------------
#Game-State-PlayingGame-Editing:
Game/State/PlayingGame/Editing/TileEditing.h \
Game/State/PlayingGame/Editing/MapRectEditing.h \
Game/State/PlayingGame/Editing/Navigation.h \
#------------------------
#Other:
main.h \
Common/Assorted/ApplicationDetails.h \
Common/String/CharRange.h \
Common/Types/Basic/Range.h \
Common/Assorted/BigInt.h \
Common/Logic/Ease/Ease.h \
Common/Logic/Ease/EaseFunctions.h \
Common/Logic/Ease/Easer.h \
Common/Logic/Ease/EaseEquations.h
#========================================================================================================================
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#========================================================================================================================
SOURCES += \
#==================================
#Common:
#------------------------
#Common-Types:
Common/Types/Image.cpp \
Common/Types/Time.cpp \
Common/Types/FormattedTime.cpp \
Common/Types/ConfigFile.cpp \
Common/Types/RichTextFile.cpp \
Common/Types/WindowSize.cpp \
#------------------------
#Common-Types-Basic:
Common/Types/Basic/Point.cpp \
Common/Types/Basic/Color.cpp \
Common/Types/Basic/Size.cpp \
Common/Types/Basic/Fraction.cpp \
Common/Types/Basic/Rect.cpp \
Common/Types/Basic/RelativeRect.cpp \
Common/Types/Basic/RelativePoint.cpp \
Common/Types/Basic/RelativeSize.cpp \
Common/Types/Basic/Alignment.cpp \
#------------------------
#Common-Assorted:
Common/Assorted/MessageBox.cpp \
Common/Assorted/BytePacker.cpp \
Common/Assorted/ColorBlending.cpp \
Common/Assorted/Tokenizer.cpp \
Common/Assorted/CSV.cpp \
#------------------------
#Common-Algorithm:
Common/Algorithm/Permutation.cpp \
#------------------------
#Common-Containers:
Common/Containers/DoubleLinkedList.cpp \
Common/Containers/Array2D.cpp \
#------------------------
#Common-GUI:
Common/GUI/RMGUI/AbstractWidget.cpp \
#------------------------
#Common-Image:
Common/Image/Bitmap.cpp \
#------------------------
#Common-String:
Common/String/StringFlags.cpp \
Common/String/Formatting.cpp \
Common/String/Conversion.cpp \
Common/String/NumberFormatting.cpp \
Common/String/NumToWords.cpp \
Common/String/LevenshteinDistance.cpp \
Common/String/StringList.cpp \
Common/String/CharValidators.cpp \
Common/String/StringLiterals.cpp \
#------------------------
#Common-Logger:
Common/Logger/MessageSource.cpp \
Common/Logger/Message.cpp \
#------------------------
#Common-FileSystem:
Common/FileSystem/FileLoading.cpp \
Common/FileSystem/FileManagement.cpp \
Common/FileSystem/Filepath.cpp \
Common/FileSystem/PathFormatting.cpp \
#------------------------
#Common-Input:
Common/Input/InputManager.cpp \
Common/Input/InputCatcher.cpp \
Common/Input/CommandTrigger.cpp \
Common/Input/MovementPlane.cpp \
Common/Input/SFML_Input.cpp \
Common/Input/KeyTranslator.cpp \
Common/Input/InputEvent.cpp \
Common/Input/PlayerControls.cpp \
Common/Input/ButtonCache.cpp \
Common/Input/InputEventTranslator.cpp \
Common/Input/InputCoordMap.cpp \
Common/Input/ButtonPressCounterMap.cpp \
Common/Input/Command.cpp \
#------------------------
#Common-Logic:
#------------------------
Common/Logic/Undo/UndoAction.cpp \
Common/Logic/Undo/ActionStack.cpp \
#------------------------
#Common-Logic-Timing:
Common/Logic/Timing/RepeatCounter.cpp \
Common/Logic/Timing/GameTimer.cpp \
#------------------------
#Common-Logic-GameState:
Common/Logic/GameState/GameState.cpp \
Common/Logic/GameState/GameStateManager.cpp \
Common/Logic/GameState/CommandReceiver.cpp \
Common/Logic/GameState/MoveableObject.cpp \
#------------------------
#Common-Logic-Property:
Common/Logic/Property/Property.cpp \
Common/Logic/Property/PropertyMap.cpp \
#------------------------
#Common-System:
Common/System/ByteOrder.cpp \
Common/System/IntTypes.cpp \
Common/System/SystemInfo.cpp \
Common/System/MemoryFunctions.cpp \
Common/System/Callstack.cpp \
Common/System/RunTime.cpp \
Common/System/SystemEnvironment.cpp \
#==================================
#Engine:
Engine/Global.cpp \
Engine/Engine.cpp \
Engine/Engine_Initialize.cpp \
Engine/Engine_BoostAssert.cpp \
Engine/Engine_Logger.cpp \
#------------------------
#Engine-Platform:
Engine/Platform/ScreenFormat.cpp \
Engine/Platform/ApplicationStructure.cpp \
Engine/Platform/PlatformImplementation_private.cpp \
#------------------------
#Engine-World:
Engine/World/Area.cpp \
Engine/World/Floor.cpp \
Engine/World/Layer.cpp \
Engine/World/AreaPath.cpp \
Engine/World/TileBlock.cpp \
Engine/World/WorldCollider.cpp \
Engine/World/WorldFunctions.cpp \
#------------------------
#Engine-World-Tile:
Engine/World/Tile/Tile.cpp \
Engine/World/Tile/TileInfo.cpp \
#------------------------
#Engine-World-Tile-TileDisplay:
Engine/World/Tile/TileDisplay/TileDisplay.cpp \
Engine/World/Tile/TileDisplay/TileImage.cpp \
Engine/World/Tile/TileDisplay/TileImageManager.cpp \
Engine/World/Tile/TileDisplay/LuaTile.cpp \
#------------------------
#Engine-World-Tile-TileDisplay-Other:
Engine/World/Tile/TileDisplay/Other/ImageData.cpp \
Engine/World/Tile/TileDisplay/Other/TileRenderer.cpp \
Engine/World/Tile/TileDisplay/Other/ImageDataCache.cpp \
#------------------------
#Engine-UndoActions:
Engine/UndoActions/TilePlacementAction.cpp \
Engine/UndoActions/FloodFillAction.cpp \
Engine/UndoActions/AbstractTileAction.cpp \
#Engine-Weather:
Engine/Weather/RainStorm.cpp \
Engine/Weather/LightRain.cpp \
#------------------------
#Engine-Structure:
Engine/Structure/Camera.cpp \
Engine/Structure/GameFlags.cpp \
Engine/Structure/Avatar.cpp \
Engine/Structure/GameStructure.cpp \
Engine/Structure/EditorInfo.cpp \
#------------------------
#Engine-GUI:
Engine/GUI/MenuButtons.cpp \
Engine/GUI/GuiImage.cpp \
Engine/GUI/WorldZoomHud.cpp \
#------------------------
#Engine-Other:
Engine/Other/StretchImage.cpp \
Engine/Other/Animator.cpp \
Engine/Other/Animation.cpp \
Engine/Other/BasicImage.cpp \
Engine/Other/MeasurementUnits.cpp \
#==================================
#Game:
#------------------------
#Game-State:
Game/State/RootState.cpp \
Game/State/Intro.cpp \
Game/State/Options.cpp \
Game/State/MainMenu.cpp \
Game/State/PlayingGame.cpp \
#------------------------
#Game-State-Intro:
Game/State/Intro/ImageLogo.cpp \
Game/State/Intro/VideoLogo.cpp \
#------------------------
#Game-State-Options:
Game/State/Options/Controls.cpp \
Game/State/Options/LoadGame.cpp \
Game/State/Options/SaveGame.cpp \
Game/State/Options/VideoSettings.cpp \
Game/State/Options/ContactDeveloper.cpp \
#------------------------
#Game-State-MainMenu:
Game/State/MainMenu/Credits.cpp \
Game/State/MainMenu/Specials.cpp \
Game/State/MainMenu/ExitGameConfirmation.cpp \
Game/State/MainMenu/TitleScreen.cpp \
#------------------------
#Game-State-MainMenu-Specials:
Game/State/MainMenu/Specials/WanderWithMe.cpp \
Game/State/MainMenu/Specials/Music.cpp \
Game/State/MainMenu/Specials/ConceptArt.cpp \
Game/State/MainMenu/Specials/Commentary.cpp \
Game/State/MainMenu/Specials/MeetTheDev.cpp \
#------------------------
#Game-State-PlayingGame:
Game/State/PlayingGame/Combat.cpp \
Game/State/PlayingGame/Exploring.cpp \
Game/State/PlayingGame/Exploring_old.cpp \
Game/State/PlayingGame/GameInterface.cpp \
#------------------------
#Game-State-PlayingGame-GameInterface:
Game/State/PlayingGame/GameInterface/Locations.cpp \
Game/State/PlayingGame/GameInterface/Quests.cpp \
Game/State/PlayingGame/GameInterface/ViewMap.cpp \
#------------------------
#Game-State-PlayingGame-Editing:
Game/State/PlayingGame/Editing/Navigation.cpp \
Game/State/PlayingGame/Editing/TileEditing.cpp \
Game/State/PlayingGame/Editing/MapRectEditing.cpp \
#------------------------
#Other:
main_Initialize.cpp \
main.cpp \
Common/Assorted/PathResolver.cpp \
Common/Assorted/ApplicationDetails.cpp \
Common/System/FastMath.cpp \
Common/System/Macroes/Assert.cpp \
Common/Logic/Ease/EaseFunctions.cpp \
Common/Logic/Ease/Ease.cpp \
Common/Logic/Ease/Easer.cpp \
Common/Logic/Ease/EaseEquations.cpp
#========================================================================================================================
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#========================================================================================================================
#Comment/Uncomment these to select what platform we are compiling for. Make sure only one is uncommented at a time.
COMPILE_PLATFORM = DesktopWithEditor
#COMPILE_PLATFORM = Desktop
#These are the APIs we are compiling with.
#No matter what platform we are on, we're still using Boost and Lua in this project.
COMPILE_APIS += Boost \
Lua
#========================================================================================================================
contains(COMPILE_PLATFORM, DesktopWithEditor) {
# APIs: SFML 2.0, Qt 5.0
# Includes the editor interface to the game.
message("Compiling for the Desktop, with the editor enabled")
#Platform-specific #defines.
DEFINES += PLATFORM_DESKTOP_WITH_EDITOR \
PLATFORM_HAS_EDITOR
COMPILE_APIS += Qt \
SFML
#Platform-specific files.
HEADERS += \
#------------------------
#Engine-Platform:
Engine/Platform/Desktop_WithEditor/PlatformImplementation.h \
#------------------------
#Engine-Platform-Windows:
Engine/Platform/Desktop_WithEditor/Windows/EditorPanels.h \
Engine/Platform/Desktop_WithEditor/Windows/MainWindow.h \
Engine/Platform/Desktop_WithEditor/Windows/MainWindowInterface.h \
Engine/Platform/Desktop_WithEditor/Windows/ApplicationWindow.h \
#------------------------
#Engine-Platform-Windows-Panels:
#------------------------
#Engine-Platform-Windows-Panels-Left:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar.h \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel.h \
#------------------------
#Engine-Platform-Windows-Panels-Left-TilePlacementBar:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileDisplayWidget.h \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TilePlacementPatternMenu.h \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileSettingsPopup.h \
#------------------------
#Engine-Platform-Windows-Panels-Left-LayerManagementPanel:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/LayerRow.h \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/FloorItem.h \
#------------------------
#Engine-Platform-Windows-Panels-Right:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Right/TileExplorer.h \
#------------------------
#Engine-Platform-Windows-Panels-Top:
#
#------------------------
#Engine-Platform-Windows-Panels-Bottom:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar.h \
#------------------------
#Engine-Platform-Windows-Panels-Bottom-QuickTileBar:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/StatusBar.h \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/TileSelectionBox.h \
#------------------------
#Engine-Platform-Windows-Other:
Engine/Platform/Desktop_WithEditor/Windows/Other/Toolbar.h
SOURCES += \
#------------------------
#Engine-Platform:
Engine/Platform/Desktop_WithEditor/PlatformImplementation.cpp \
#------------------------
#Engine-Platform-Windows:
Engine/Platform/Desktop_WithEditor/Windows/MainWindow.cpp \
Engine/Platform/Desktop_WithEditor/Windows/MainWindowInterface.cpp \
Engine/Platform/Desktop_WithEditor/Windows/ApplicationWindow.cpp \
#------------------------
#Engine-Platform-Windows-Panels:
#------------------------
#Engine-Platform-Windows-Panels-Left:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel.cpp \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar.cpp \
#------------------------
#Engine-Platform-Windows-Panels-Left-LayerManagementPanel:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/LayerRow.cpp \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/LayerManagementPanel/FloorItem.cpp \
#------------------------
#Engine-Platform-Windows-Panels-Left-TilePlacementBar:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TilePlacementPatternMenu.cpp \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileDisplayWidget.cpp \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Left/TilePlacementBar/TileSettingsPopup.cpp \
#------------------------
#Engine-Platform-Windows-Panels-Right:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Right/TileExplorer.cpp \
#------------------------
#Engine-Platform-Windows-Panels-Top:
#
#------------------------
#Engine-Platform-Windows-Panels-Bottom:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar.cpp \
#------------------------
#Engine-Platform-Windows-Panels-Bottom-QuickTileBar:
Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/StatusBar.cpp \
Engine/Platform/Desktop_WithEditor/Windows/Panels/Bottom/QuickTileBar/TileSelectionBox.cpp \
#------------------------
#Engine-Platform-Windows-Other:
Engine/Platform/Desktop_WithEditor/Windows/Other/Toolbar.cpp
}
#========================================================================================================================
contains(COMPILE_PLATFORM, Desktop) {
# APIs: SFML 2.0
# Just the game; no editor.
message("Compiling for the Desktop (without the editor)")
#Platform-specific #defines.
DEFINES += PLATFORM_DESKTOP
COMPILE_APIS += SFML
#Platform-specific files.
}
#========================================================================================================================
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#========================================================================================================================
#If compiling on Windows, 'win32' is already defined by QMake in the .pro file.
win32 {
COMPILE_APIS += Win32
}
#========================================================================================================================
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#========================================================================================================================
#Boost includes:
contains(COMPILE_APIS, Boost) {
include(API_Boost.pri)
}
#Qt5 API includes:
contains(COMPILE_APIS, Qt) {
include(API_Qt.pri)
}
#SFML2 API includes:
contains(COMPILE_APIS, SFML) {
include(API_Sfml.pri)
}
#LUA52 API includes:
contains(COMPILE_APIS, Lua) {
include(API_Lua.pri)
}
#Win32 API includes:
contains(COMPILE_APIS, Win32) {
include(API_Win32.pri)
}
#========================================================================================================================
#XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#========================================================================================================================
OTHER_FILES += \
"[Project stats].smp" \
IconRes.rc \
Todo.cpp \
Notes.txt \
HeaderOrder.txt \
GameStates.txt