[CMake] working around rc.exe "too many -I# options"

2009-10-20 Thread Tyler Roscoe
I am trying to add Windows versioning information to my project. I am using CMake 2.6.2 and VS2005. I have crafted a version.rc file which I use with all my libraries and executables. This is working well except for one library which has 94 include directories, one greater than the 93 directory li

Re: [CMake] working around rc.exe "too many -I# options"

2009-10-20 Thread John Drescher
> I am trying to add Windows versioning information to my project. I am > using CMake 2.6.2 and VS2005. > > I have crafted a version.rc file which I use with all my libraries and > executables. This is working well except for one library which has 94 > include directories, one greater than the 93 d

Re: [CMake] working around rc.exe "too many -I# options"

2009-10-20 Thread David Cole
One easy way to hack around this problem would be to use add_custom_command to invoke the rc.exe directly... Not sure if you could just include a *.res file (output from rc) as a source in an add_library or add_executable call, though. Worth a shot On Tue, Oct 20, 2009 at 3:20 PM, John Dres

Re: [CMake] working around rc.exe "too many -I# options"

2009-11-10 Thread Tyler Roscoe
Whoops, forgot to follow up on this. On Tue, Oct 20, 2009 at 03:27:50PM -0400, David Cole wrote: > One easy way to hack around this problem would be to use add_custom_command > to invoke the rc.exe directly... > > Not sure if you could just include a *.res file (output from rc) as a source > in a