On 11 May 2011 16:57, Mariano Martinez Peck marianopeck@gmail.com wrote:
FWIW, I'd really like it too if (not sure if it's already the case) cmake -G "Visual Studio X YYYY" worked out of the box :) Probably a more durable approach to spend effort there if it's not the case, than make a new/update a project every once in a while.
So, wanna try it out? For this you need to create a subclass of CogWindowsConfig and override few methods which are responsible for compiler flags and probably include directories for standard include files, like windows.h and directx etc. And you done. :)
Why you would need that? I mean, why doing a cmake -G "Visual Studio 9 2008" or whatever is not enough ?
apparently because MSVC compiler and linker has own options and GCC options will be simply ignored or lead to errors.
Cheers, Henry
-- Best regards, Igor Stasenko AKA sig.
-- Mariano http://marianopeck.wordpress.com