mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-20 13:29:30 +00:00
Rework & cleanup CMake project files
- 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.
This commit is contained in:
parent
f0f9f1a719
commit
49b9e0f05a
52 changed files with 719 additions and 1053 deletions
63
ExternalLibs/FTGL/CMakeLists.txt
Normal file
63
ExternalLibs/FTGL/CMakeLists.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
# For building Aquaria
|
||||
|
||||
include_directories(include)
|
||||
|
||||
set(FTGL_SRCS
|
||||
include/FTBBox.h
|
||||
include/FTBitmapGlyph.h
|
||||
include/FTCharmap.h
|
||||
include/FTCharToGlyphIndexMap.h
|
||||
include/FTContour.h
|
||||
include/FTExtrdGlyph.h
|
||||
include/FTFace.h
|
||||
include/FTFont.h
|
||||
include/FTGL.h
|
||||
include/FTGLBitmapFont.h
|
||||
include/FTGLExtrdFont.h
|
||||
include/FTGLOutlineFont.h
|
||||
include/FTGLPixmapFont.h
|
||||
include/FTGLPolygonFont.h
|
||||
include/FTGLTextureFont.h
|
||||
include/FTGlyph.h
|
||||
include/FTGlyphContainer.h
|
||||
include/FTLibrary.h
|
||||
include/FTList.h
|
||||
include/FTOutlineGlyph.h
|
||||
include/FTPixmapGlyph.h
|
||||
include/FTPoint.h
|
||||
include/FTPolyGlyph.h
|
||||
include/FTSize.h
|
||||
include/FTTextureGlyph.h
|
||||
include/FTVector.h
|
||||
# include/FTVectoriser.h
|
||||
src/FTBitmapGlyph.cpp
|
||||
src/FTCharmap.cpp
|
||||
src/FTContour.cpp
|
||||
src/FTExtrdGlyph.cpp
|
||||
src/FTFace.cpp
|
||||
src/FTFont.cpp
|
||||
src/FTGLBitmapFont.cpp
|
||||
src/FTGLExtrdFont.cpp
|
||||
src/FTGLOutlineFont.cpp
|
||||
src/FTGLPixmapFont.cpp
|
||||
src/FTGLPolygonFont.cpp
|
||||
src/FTGLTextureFont.cpp
|
||||
src/FTGlyph.cpp
|
||||
src/FTGlyphContainer.cpp
|
||||
src/FTLibrary.cpp
|
||||
src/FTOutlineGlyph.cpp
|
||||
src/FTPixmapGlyph.cpp
|
||||
src/FTPoint.cpp
|
||||
src/FTPolyGlyph.cpp
|
||||
src/FTSize.cpp
|
||||
src/FTTextureGlyph.cpp
|
||||
# src/FTVectoriser.cpp
|
||||
)
|
||||
|
||||
SET_SOURCE_FILES_PROPERTIES(
|
||||
${FTGL_SRCS}
|
||||
PROPERTIES COMPILE_FLAGS "-DFTGL_LIBRARY_STATIC"
|
||||
)
|
||||
|
||||
add_library(FTGL ${FTGL_SRCS})
|
||||
target_link_libraries(FTGL freetype)
|
Loading…
Add table
Add a link
Reference in a new issue