The ZM option in CMake (that allows VS to use more memory for PCH using the /Zm256 flag) doesn't seem to work. I've tried generating project using CMake both with the option checked and unchecked, without getting the /ZM256 flag to show up in my OgreMain compile command line.
Also, the description of the option in CMake is confusing... "Switch off flag" or something like that. So, if I check it, I should not use the /Zm256 flag, or? Enable an option to turn something off? IMHO, it would be better to have an option to turn the flag on, that is checked by default.
Ogre 1.9RC2 + VS2013 Express, ZM option not working
- lingfors
- Hobgoblin
- Posts: 525
- Joined: Mon Apr 02, 2007 12:18 am
- Location: Sweden
- x 79
- spacegaier
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 135
- Contact:
Re: Ogre 1.9RC2 + VS2013 Express, ZM option not working
I will fix that in a second. The issue is, that our CMake scripts do not allow to set Zm with VS2013 yet (only VS2012). The script detects an invalid VS version for /Zm and then displays that slightly confusing tooltip you mention.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
- spacegaier
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 135
- Contact:
Re: Ogre 1.9RC2 + VS2013 Express, ZM option not working
I just pushed a fix. Can you please try again with the latest revision: https://bitbucket.org/sinbad/ogre/commi ... 16da054e4c
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
- lingfors
- Hobgoblin
- Posts: 525
- Joined: Mon Apr 02, 2007 12:18 am
- Location: Sweden
- x 79
Re: Ogre 1.9RC2 + VS2013 Express, ZM option not working
I will try again tonight when I get home from work.spacegaier wrote:I just pushed a fix. Can you please try again with the latest revision: https://bitbucket.org/sinbad/ogre/commi ... 16da054e4c
- lingfors
- Hobgoblin
- Posts: 525
- Joined: Mon Apr 02, 2007 12:18 am
- Location: Sweden
- x 79
Re: Ogre 1.9RC2 + VS2013 Express, ZM option not working
Yup, seems to be working better.