cmake set UseOfAtl for visual studio generated files

27 Views Asked by At

I need to set options in cmake to generate these entries in visual studio .vcxproj file

<UseOfMfc>false</UseOfMfc>
<UseOfAtl>Static</UseOfAtl>

Cmake supports MFC via CMAKE_MFC_FLAG which translates into a "UseOfMFC" entry in the generated visual studio project files. So my question is how to set UseOfAtl in the cmake file?

The only workaround I found was to change the cmake sorces. Is there any chances to not change cmake sources?

0

There are 0 best solutions below