AllCach
AllCach

Reputation: 11

cmake set UseOfAtl for visual studio generated files

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?

Upvotes: 1

Views: 124

Answers (0)

Related Questions