[CMake] How to import Visual studio project properties using Cmake

Anjaneyulu Korapu-contr Anjaneyulu.Korapu-contr at trw.com
Mon Nov 10 15:50:50 EST 2014


Hello CMake Team,

I would like to know how to import Visual studio project properties using CMAKE?   And what is the equivalent command for <Import> element in CMake?

Below is the section in the *.vcxproj file where I am importing General_Project_Properties.props file.

Example :

<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
    <Import Project="General_Project_Properties.props" />
  </ImportGroup>

Thanks
Anji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141110/f8f253b8/attachment.html>


More information about the CMake mailing list