|
From: | David Capello |
Subject: | Re: [ft-devel] /Fd flag for MSVC doesn't work for Ninja generator |
Date: | Wed, 28 Oct 2015 11:07:17 -0300 |
> 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 $$)
It looks like either these two variables have to be specified
explicitly on the cmake command line, or some other cmake include file
is missing that automatically sets them up...
[Prev in Thread] | Current Thread | [Next in Thread] |