Massive CMake refactoring... No code changes. (0.37.55)
This commit is contained in:
parent
a63aff3daa
commit
501be417e8
22 changed files with 513 additions and 568 deletions
10
cmake/Platform/Windows.cmake
Normal file
10
cmake/Platform/Windows.cmake
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Windows-specific configuration for Fun
|
||||
|
||||
# Default library directory (only set if not provided by user)
|
||||
if(NOT DEFINED DEFAULT_LIB_DIR OR DEFAULT_LIB_DIR STREQUAL "")
|
||||
set(DEFAULT_LIB_DIR "C:/Users/Public/fun/lib" CACHE PATH "Default library directory for Fun stdlib (override with -DDEFAULT_LIB_DIR=...)" FORCE)
|
||||
endif()
|
||||
|
||||
# libc macro (non-musl path)
|
||||
set(FUN_LIBC "glibc" CACHE STRING "Selected C library")
|
||||
add_compile_definitions(FUN_LIBC_GLIBC)
|
||||
Loading…
Add table
Add a link
Reference in a new issue