mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-09 01:07:16 +01:00
23 lines
587 B
CMake
23 lines
587 B
CMake
# Create library
|
|
add_library(FmtLib STATIC
|
|
include/fmt/chrono.h
|
|
include/fmt/color.h
|
|
include/fmt/compile.h
|
|
include/fmt/core.h
|
|
include/fmt/format-inl.h
|
|
include/fmt/format.h
|
|
include/fmt/locale.h
|
|
include/fmt/os.h
|
|
include/fmt/ostream.h
|
|
include/fmt/posix.h
|
|
include/fmt/printf.h
|
|
include/fmt/ranges.h
|
|
format.cc
|
|
os.cc
|
|
)
|
|
# Configure include folders
|
|
target_include_directories(FmtLib PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
|
target_include_directories(FmtLib PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
|
# Configure macro options
|
|
target_compile_definitions(FmtLib PRIVATE _WIN32_WINNT=0x0601)
|