简体   繁体   中英

Where to define Macros in VS2013

I'm using Visual Studio 2013 and wanted to use some Macros from the C++ Eigen Library ( these ), but I don't know how to. I found this stackoverflow question , but their solutions don't work for VS2013.

EDIT - Answer :

The question that I linked already had the answer from user @Cam Jackson. Actually, I didn't know that Property Manager (View -> Other windows -> Property Manager) is not the same thing as the "Right-click -> Properties" of the project. I'm quoting the answer :

'User Macros' will only display under 'Common Properties' if the property sheet that you're editing is specific to the project/solution! So what you need to do is open the Property Manager window in VS, right-click on your project and add a new property sheet. Then right-click->Properties on the newly created sheet, and you will now see the 'User Macros' option underneath 'Common Properties'! Hope that helps :)

The question that I linked already had the answer from user @Cam Jackson. Actually, I didn't know that the Property Manager (View -> Other windows -> Property Manager) is not the same thing as the "Right-click -> Properties" of the project. I'm quoting the answer :

'User Macros' will only display under 'Common Properties' if the property sheet that you're editing is specific to the project/solution! So what you need to do is open the Property Manager window in VS, right-click on your project and add a new property sheet. Then right-click->Properties on the newly created sheet, and you will now see the 'User Macros' option underneath 'Common Properties'! Hope that helps :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM