[CMake] shell in Unix Makefiles

Magnus Therning magnus at therning.org
Thu Apr 22 05:08:21 EDT 2010


On Thu, Apr 22, 2010 at 08:38, naryniecki <naryniecki at o2.pl> 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


More information about the CMake mailing list