mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 12:03:51 +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.
63 lines
1.4 KiB
CMake
63 lines
1.4 KiB
CMake
# 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)
|