mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
add fmtlib for examples
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -4,3 +4,6 @@
|
||||
[submodule "vendors/doctest"]
|
||||
path = vendors/doctest
|
||||
url = https://github.com/onqtam/doctest
|
||||
[submodule "vendors/fmtlib"]
|
||||
path = vendors/fmtlib
|
||||
url = https://github.com/fmtlib/fmt
|
||||
|
||||
@@ -45,6 +45,7 @@ if(BUILD_AS_STANDALONE)
|
||||
if(BUILD_WITH_UNTESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(vendors/doctest)
|
||||
add_subdirectory(vendors/fmtlib)
|
||||
add_subdirectory(untests)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -18,7 +18,7 @@ endif()
|
||||
|
||||
file(GLOB_RECURSE UNTESTS_SOURCES "*.cpp" "*.hpp")
|
||||
add_executable(${PROJECT_NAME} ${UNTESTS_SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME} meta.hpp doctest_with_main)
|
||||
target_link_libraries(${PROJECT_NAME} meta.hpp doctest_with_main fmt)
|
||||
|
||||
target_compile_options(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
|
||||
1
vendors/fmtlib
vendored
Submodule
1
vendors/fmtlib
vendored
Submodule
Submodule vendors/fmtlib added at b6f4ceaed0
Reference in New Issue
Block a user