[CMake] Script running gcc does not come back

Jörg Förstner Joerg.Foerstner at ubidyne.com
Mon Jul 27 07:49:18 EDT 2009


Hi,

I try to bypass CMake's direct call of gcc, by running a script "compile.sh" instead. The script would allow me to first extend the gcc arguments to my needs and then call gcc.
After calling "make" everything is built fine, but in the end, the prompt does not come back. I have to press <CTRL-C> to have the shell prompt back.
What do I do wrong?


Background info:

In CMakeLists.txt I write 
  SET( CMAKE_CXX_COMPILER /compile.sh )
instead of
  SET( CMAKE_CXX_COMPILER /usr/bin/gcc )
to bypass gcc with a script.

Regards,
Joerg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090727/0340f2c7/attachment.htm>


More information about the CMake mailing list