[CMake] PreprocessToFile
Kristian
kristianonline28 at gmail.com
Sat May 5 10:02:49 EDT 2018
Hi,
I have a Visual Studio 2015 Solution with some C++ projects in it. I
try to generate the same solution and the projects with CMake. Now,
there is a part, where I do not know how to solve this.
In a vcxproj file, there is something like this written:
=====
<ClCompile Include="abc.cpp">
<PreprocessToFile Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
false
</PreprocessToFile>
<PreprocessKeepComments
Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
false
<PreprocessKeepComments>
</ClCompile>
=====
So, now my question: Is it possible, to get the same result with CMake here?
More information about the CMake
mailing list