Skip to content

Commit

Permalink
Added default font to the AssetHandler.
Browse files Browse the repository at this point in the history
  • Loading branch information
bXi committed Apr 22, 2024
1 parent 4dbe013 commit 58e50c5
Show file tree
Hide file tree
Showing 4 changed files with 10,203 additions and 2 deletions.
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ add_library("luminoveau" STATIC

assethandler/assethandler.cpp
assethandler/assethandler.h
assethandler/DroidSansMono.cpp
utils/camera.h
utils/colors.h
utils/constants.h
Expand All @@ -62,11 +63,21 @@ add_library("luminoveau" STATIC
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/$<CONFIGURATION>)

if (FORCE_ALL_WARNINGS)
target_compile_options("luminoveau" PRIVATE -Wall)
else()
if (MSVC)
# Add compiler flags to suppress specific warnings
add_compile_options(/wd4820 /wd4514 /wd5045)
endif()
endif()


if(CMAKE_BUILD_TYPE STREQUAL "Release")
target_compile_options("luminoveau" PRIVATE -O3)
endif()

target_compile_options("luminoveau" PRIVATE -Wall)

target_compile_features("luminoveau" PRIVATE cxx_std_23)

target_include_directories("luminoveau" PUBLIC
Expand Down
Loading

0 comments on commit 58e50c5

Please sign in to comment.