Hi people!
Some time ago I tried to compile freetype using cmake and Ninja makefiles
(
https://martine.github.io/ninja/).
Anyway the following lines in the main CMakeLists.txt file made it impossible:
if (MSVC)
set_target_properties(freetype PROPERTIES
COMPILE_FLAGS /Fd"$(IntDir)$(TargetName).pdb")
endif ()
After running cmake -G Ninja, I received the following error running ninja:
ninja: error: build.ninja:9506: bad $-escape (literal $ must be written as $$)
So my solution was to comment out those lines.
I think that other solution could be to change those lines to something like:
if (MSVC)
set_target_properties(freetype PROPERTIES
COMPILE_FLAGS /Fd"$$(IntDir)$$(TargetName).pdb")
endif ()
But I didn't try it with Visual Studio generator, and it shows
a lot of warnings for Ninja anyway. Warnings like: