Changed libfmt to use static c runtime

This commit is contained in:
Pedro Pinto committed 2017-08-08 12:22:02 -04:00
1 parent 2b68f2b8fd
commit e7bf146e32
5 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1 +1 @@
./work/
work/
+2
View File
@@ -27,6 +27,7 @@ cd $work\$fmt
mkdir debug_build
cd debug_build
cmake -G "NMake Makefiles" -DFMT_TEST=no -DFMT_INSTALL=no -DCMAKE_BUILD_TYPE=Debug ..
(Get-Content CMakeCache.txt).replace('/MD', '/MT') | Set-Content CMakeCache.txt
nmake
copy fmt\fmt.lib $target\lib\debug\libfmt.lib
copy fmt\CMakeFiles\fmt.dir\fmt.pdb $target\lib\debug\libfmt.pdb
@@ -36,6 +37,7 @@ cd $work\$fmt
mkdir release_build
cd release_build
cmake -G "NMake Makefiles" -DFMT_TEST=no -DFMT_INSTALL=no -DCMAKE_BUILD_TYPE=Release ..
(Get-Content CMakeCache.txt).replace('/MD', '/MT') | Set-Content CMakeCache.txt
nmake
copy fmt\fmt.lib $target\lib\release\libfmt.lib
Binary file not shown.
Binary file not shown.
Binary file not shown.