mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
49b9e0f05a
- Building with CMake for development is now actually sane - Split deps into projects and extra files - Building against external deps should still work but needs testing - Can now build out of the box without further adjustments as long as SDL(2) is found properly - Build Lua in C++ mode (so it can use exceptions instead of setjmp/longjmp) - Unfortunately we need to enable exceptions for this :( - Remove these defines: * AQUARIA_BUILD_SCENEEDITOR (now always on) * AQUARIA_BUILD_CONSOLE (now always on) * BBGE_BUILD_ACHIEVEMENTS_INTERNAL (now always on unless BBGE_BUILD_STEAMWORKS is defined) * BBGE_BUILD_OPENGL_DYNAMIC (now always on, define BBGE_BUILD_OPENGL_STATIC if needed) * BBGE_BUILD_FMOD_OPENAL_BRIDGE (now always on) - BBGE_BUILD_STEAMWORKS is not actually implemented (any volunteers?) - Prepare later removal of SDL & the old vc90 project from the repo. See #74 for extra notes.
116 lines
2 KiB
CMake
116 lines
2 KiB
CMake
# Bit Blot Game Engine sources...
|
|
set(BBGE_SRCS
|
|
ActionInput.cpp
|
|
ActionInput.h
|
|
ActionMapper.cpp
|
|
ActionMapper.h
|
|
ActionSet.cpp
|
|
ActionSet.h
|
|
ActionStatus.cpp
|
|
ActionStatus.h
|
|
AfterEffect.cpp
|
|
AfterEffect.h
|
|
Base.cpp
|
|
Base.h
|
|
BaseText.h
|
|
bithacks.h
|
|
BitmapFont.cpp
|
|
BitmapFont.h
|
|
CMakeLists.txt
|
|
Core.cpp
|
|
Core.h
|
|
DarkLayer.cpp
|
|
DarkLayer.h
|
|
DebugFont.cpp
|
|
DebugFont.h
|
|
Effects.cpp
|
|
Effects.h
|
|
Emitter.cpp
|
|
Event.cpp
|
|
Event.h
|
|
FmodOpenALBridge.cpp
|
|
FmodOpenALBridge.h
|
|
FrameBuffer.cpp
|
|
FrameBuffer.h
|
|
GameKeyNames.cpp
|
|
GameKeyNames.h
|
|
GameKeys.h
|
|
GLLoad.cpp
|
|
GLLoad.h
|
|
Gradient.cpp
|
|
Gradient.h
|
|
Image.cpp
|
|
Image.h
|
|
Joystick.cpp
|
|
Joystick.h
|
|
LensFlare.cpp
|
|
LensFlare.h
|
|
Localization.cpp
|
|
Localization.h
|
|
MathFunctions.h
|
|
MT.cpp
|
|
MT.h
|
|
OpenGLStubs.h
|
|
OSFunctions.cpp
|
|
OSFunctions.h
|
|
ParticleEffect.cpp
|
|
ParticleManager.cpp
|
|
Particles.cpp
|
|
Particles.h
|
|
Precacher.cpp
|
|
Precacher.h
|
|
Quad.cpp
|
|
Quad.h
|
|
QuadTrail.cpp
|
|
QuadTrail.h
|
|
ReadXML.cpp
|
|
ReadXML.h
|
|
Rect.h
|
|
Refcounted.h
|
|
RenderBase.cpp
|
|
RenderBase.h
|
|
RenderObject.cpp
|
|
RenderObject.h
|
|
RenderObject_inline.h
|
|
RenderObjectLayer.cpp
|
|
RenderRect.cpp
|
|
RoundedRect.cpp
|
|
RoundedRect.h
|
|
ScreenTransition.cpp
|
|
ScreenTransition.h
|
|
ScriptObject.cpp
|
|
ScriptObject.h
|
|
Shader.cpp
|
|
Shader.h
|
|
SimpleIStringStream.h
|
|
SkeletalSprite.cpp
|
|
SkeletalSprite.h
|
|
Slider.cpp
|
|
Slider.h
|
|
SoundManager.cpp
|
|
SoundManager.h
|
|
SpawnParticleData.cpp
|
|
StateMachine.cpp
|
|
StateMachine.h
|
|
StateManager.cpp
|
|
StateManager.h
|
|
StringBank.cpp
|
|
StringBank.h
|
|
Texture.cpp
|
|
Texture.h
|
|
TTFFont.cpp
|
|
TTFFont.h
|
|
Vector.cpp
|
|
Vector.h
|
|
Window.cpp
|
|
Window.h
|
|
Window_SDL1.cpp
|
|
Window_SDL2.cpp
|
|
)
|
|
|
|
if(APPLE AND NOT AQUARIA_USE_SDL2)
|
|
set(BBGE_SRCS ${BBGE_SRCS} Cocoa.mm)
|
|
endif()
|
|
|
|
add_library(BBGE ${BBGE_SRCS})
|
|
target_link_libraries(BBGE ExternalLibs ${SDL_LIBRARY})
|