2012/1/19 Oliver kfsone Smith <[email protected]>:
> I realize not every build environment supports the option, but is there a
> way to get CMake to generate Makefiles which aggregate source files, e.g.
>
> $ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp
> $ g++ -pipe -o exeutable file1.cpp file2.cpp file3.cpp library.a

I don't think so.
Why do you want to do that?
Are you seeking for performance? Thus the "-pipe" option?

CMake generates makefiles that handle the -j option of make quite nicely?
-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--

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