mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-29 20:21:48 +02:00
.github
bin
module
vendor
CPR
CivetWeb
ConcurrentQueue
Fmt
doc
include
src
support
test
add-subdirectory-test
CMakeLists.txt
main.cc
compile-error-test
cuda-test
find-package-test
fuzzing
gtest
static-export-test
CMakeLists.txt
args-test.cc
assert-test.cc
chrono-test.cc
color-test.cc
compile-fp-test.cc
compile-test.cc
core-test.cc
enforce-checks-test.cc
format-impl-test.cc
format-test.cc
gtest-extra-test.cc
gtest-extra.cc
gtest-extra.h
header-only-test.cc
mock-allocator.h
module-test.cc
noexception-test.cc
os-test.cc
ostream-test.cc
posix-mock-test.cc
posix-mock.h
printf-test.cc
ranges-odr-test.cc
ranges-test.cc
scan-test.cc
scan.h
test-assert.h
test-main.cc
unicode-test.cc
util.cc
util.h
xchar-test.cc
CMakeLists.txt
CONTRIBUTING.md
ChangeLog.rst
LICENSE.rst
README.rst
MDBC
MaxmindDB
POCO
PUGIXML
RPMalloc
SAJSON
SimpleIni
Squirrel
TinyDir
UTF8
ZMQ
xxHash
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
18 lines
595 B
CMake
18 lines
595 B
CMake
cmake_minimum_required(VERSION 3.1...3.18)
|
|
|
|
project(fmt-test CXX)
|
|
|
|
add_subdirectory(../.. fmt)
|
|
|
|
add_executable(library-test main.cc)
|
|
target_include_directories(library-test PUBLIC SYSTEM .)
|
|
target_compile_options(library-test PRIVATE ${PEDANTIC_COMPILE_FLAGS})
|
|
target_link_libraries(library-test fmt::fmt)
|
|
|
|
if (TARGET fmt::fmt-header-only)
|
|
add_executable(header-only-test main.cc)
|
|
target_include_directories(header-only-test PUBLIC SYSTEM .)
|
|
target_compile_options(header-only-test PRIVATE ${PEDANTIC_COMPILE_FLAGS})
|
|
target_link_libraries(header-only-test fmt::fmt-header-only)
|
|
endif ()
|