mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-11-23 06:30:01 +00:00
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:
parent
370f36c8f7
commit
37a33bf127
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||
|
@ -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/)
|
||||
|
||||
|
2
External/FEXCore/Source/CMakeLists.txt
vendored
2
External/FEXCore/Source/CMakeLists.txt
vendored
@ -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)
|
||||
|
1
External/fmt
vendored
Submodule
1
External/fmt
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 7bdf0628b1276379886c7f6dda2cef2b3b374f0b
|
Loading…
Reference in New Issue
Block a user