<div dir="ltr"><span style="font-size:12.8px">Hi folks,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I need some help setting the COMPILE_DEFINITIONS_<CONFIG>. I'm using the Visual Studio 2008 generator. I use this command to do so which I took in the <a href="http://www.cmake.org/Wiki/CMake_2.6_Notes" target="_blank">notes</a> when the feature was added:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">set_property(TARGET ${PrjName0} PROPERTY COMPILE_DEFINITIONS_DEBUG ATEST) <br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Then, once the solution and project is generated, I go into the project properties under the C++ preprocessor and I can't see the define. Removing the configuration name does set it correctly for all of them, so it leads me to believe the rest of my CMakeLists.txt is fine:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">set_property(TARGET ${PrjName0} PROPERTY COMPILE_DEFINITIONS ATEST) <br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">So is this supposed to work?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Carl</div></div>