freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] /Fd flag for MSVC doesn't work for Ninja generator


From: Werner LEMBERG
Subject: Re: [ft-devel] /Fd flag for MSVC doesn't work for Ninja generator
Date: Wed, 28 Oct 2015 14:57:30 +0100 (CET)

> 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...

My knowledge of MSVC is too restricted, unfortunately.  Is there any
cmake expert for Windows who can comment?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]