Externals: Add fmt as an external

Begins the process of addressing issue #146.

This is separated off, so that others can make use of fmt for other
purposes (general localized non-sucky string formatting), while the
logging rework is being tackled.
This commit is contained in:
Lioncash committed 2021-05-20 13:18:38 -04:00
1 parent 370f36c8f7
commit 37a33bf127
4 files changed
+7 -1

No files matched your search

+3
View File
@@ -33,3 +33,6 @@
[submodule "External/jemalloc"]
path = External/jemalloc
url = https://github.com/FEX-Emu/jemalloc.git
[submodule "External/fmt"]
path = External/fmt
url = https://github.com/fmtlib/fmt.git
+2
View File
@@ -116,6 +116,8 @@ include_directories(External/jemalloc/pregen/include/)
add_subdirectory(External/cpp-optparse/)
include_directories(External/cpp-optparse/)
add_subdirectory(External/fmt/)
add_subdirectory(External/imgui/)
include_directories(External/imgui/)
+1 -1
View File
@@ -306,7 +306,7 @@ endfunction()
function(AddLibrary Name Type)
add_library(${Name} ${Type} $<TARGET_OBJECTS:${PROJECT_NAME}_object>)
target_link_libraries(${Name} pthread vixl dl xxhash FEX_jemalloc)
target_link_libraries(${Name} pthread vixl dl fmt::fmt xxhash FEX_jemalloc)
set_target_properties(${Name} PROPERTIES OUTPUT_NAME FEXCore)
set_target_properties(${Name} PROPERTIES C_VISIBILITY_PRESET hidden)
set_target_properties(${Name} PROPERTIES CXX_VISIBILITY_PRESET hidden)
Vendored Submodule
+1
Submodule External/fmt added at 7bdf0628b1.