Compare commits
No commits in common. "7bdbcb80b6dddd95b9de9255e6b5c22b6cac88fc" and "247a066e6fe1147aa0d76c94076f950210376443" have entirely different histories.
7bdbcb80b6
...
247a066e6f
2 changed files with 28 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1 @@
|
||||||
build
|
build
|
||||||
.vscode
|
|
|
@ -12,6 +12,9 @@ set(CMAKE_C_STANDARD 23)
|
||||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
|
||||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
|
||||||
|
|
||||||
|
# set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/$<CONFIGURATION>")
|
||||||
|
# set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/$<CONFIGURATION>")
|
||||||
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
set(FETCHCONTENT_QUIET FALSE)
|
set(FETCHCONTENT_QUIET FALSE)
|
||||||
|
|
||||||
|
@ -28,6 +31,30 @@ message(STATUS "Using SDL via FetchContent")
|
||||||
FetchContent_MakeAvailable(SDL)
|
FetchContent_MakeAvailable(SDL)
|
||||||
set_property(DIRECTORY "${sdl_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
set_property(DIRECTORY "${sdl_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
||||||
|
|
||||||
|
# if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
|
||||||
|
# FetchContent_Declare(
|
||||||
|
# harfbuzz
|
||||||
|
# GIT_REPOSITORY "https://github.com/harfbuzz/harfbuzz.git"
|
||||||
|
# GIT_TAG 10.2.0
|
||||||
|
# GIT_SHALLOW TRUE
|
||||||
|
# GIT_PROGRESS TRUE
|
||||||
|
# )
|
||||||
|
# message(STATUS "Using harfbuzz via FetchContent")
|
||||||
|
# FetchContent_MakeAvailable(harfbuzz)
|
||||||
|
# set_property(DIRECTORY "${harfbuzz_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
||||||
|
|
||||||
|
# FetchContent_Declare(
|
||||||
|
# freetype
|
||||||
|
# GIT_REPOSITORY "https://gitlab.freedesktop.org/freetype/freetype.git"
|
||||||
|
# GIT_TAG VER-2-13-3
|
||||||
|
# GIT_SHALLOW TRUE
|
||||||
|
# GIT_PROGRESS TRUE
|
||||||
|
# )
|
||||||
|
# message(STATUS "Using freetype via FetchContent")
|
||||||
|
# FetchContent_MakeAvailable(freetype)
|
||||||
|
# set_property(DIRECTORY "${freetype_SOURCE_DIR}" PROPERTY EXCLUDE_FROM_ALL TRUE)
|
||||||
|
# endif()
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
SDL_ttf
|
SDL_ttf
|
||||||
GIT_REPOSITORY https://github.com/libsdl-org/SDL_ttf.git
|
GIT_REPOSITORY https://github.com/libsdl-org/SDL_ttf.git
|
||||||
|
|
Loading…
Reference in a new issue