Hi,

I know there is such possibility, but I have also few directories with which 
are compiled and linked in "normal" way. In such situation I would have to 
create custom target for this big directory. But I had problem how to create 
target which say: compile all *.cpp files from directory to .o files.  I tried 
to use CMAKE_C_COMPILE_OBJECT somehow or CMAKE_C_FLAGS but it didn't work. I 
had "\" signs in CMAKE_C_FLAGS and couldn't remove. I wrote to this list some 
time ago but no answer.

Br.
Marek

Dnia 22 kwietnia 2010 11:08 Magnus Therning <[email protected]> napisaƂ(a):

> On Thu, Apr 22, 2010 at 08:38, naryniecki <[email protected]> wrote:
> > Hi,
> >
> > I have a lot of generated files in one folder. All this files must be in 
> > one library. When I generate Unix Makefiles I get input line too long error 
> > while linking. When I use NMake Makefile it works. As far as know this 
> > error correspond to shell/console that is used while linking. Is it 
> > possible to generate Unix Makefiles that use shell as in NMake makefile 
> > generator?
> 
> Depending on the linker it's sometimes possible to put the arguments
> in a file (e.g. @file for GNU ld, IIRC).  Maybe that would be a way to
> solve your problem here?
> 
> /M
> 
> -- 
> Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
> magnus?therning?org          Jabber: magnus?therning?org
> http://therning.org/magnus         identi.ca|twitter: magthe
> 
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to