Kaynağa Gözat

Add the fmt string formatting library

More info at http://fmtlib.net/

This commit was based on @jroweboy's work on his spdlog branch, but with
modifications.
Yuri Kunde Schlesner 9 yıl önce
ebeveyn
işleme
a06220682c
4 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. 3 0
      .gitmodules
  2. 1 0
      CMakeLists.txt
  3. 1 0
      externals/CMakeLists.txt
  4. 1 0
      externals/fmt

+ 3 - 0
.gitmodules

@@ -22,3 +22,6 @@
 [submodule "cryptopp"]
     path = externals/cryptopp/cryptopp
     url = https://github.com/weidai11/cryptopp.git
+[submodule "fmt"]
+    path = externals/fmt
+    url = https://github.com/fmtlib/fmt.git

+ 1 - 0
CMakeLists.txt

@@ -258,6 +258,7 @@ add_subdirectory(${INI_PREFIX})
 add_subdirectory(externals)
 
 option(DYNARMIC_TESTS OFF)
+set(DYNARMIC_NO_BUNDLED_FMT ON)
 add_subdirectory(externals/dynarmic)
 
 add_subdirectory(externals/glad)

+ 1 - 0
externals/CMakeLists.txt

@@ -9,3 +9,4 @@ endif()
 
 add_subdirectory(cryptopp)
 
+add_subdirectory(fmt)

+ 1 - 0
externals/fmt

@@ -0,0 +1 @@
+Subproject commit ac5484c4e7365b59d8c7e14db6778de26635e428