[CMake] Out-of-source build broken ?

Gabriel Sepúlveda gabriel.sepulveda at sixbell.cl
Wed Jun 18 16:16:19 EDT 2008



Hi, you need to set the EXECUTABLE_OUTPUT_PATH variable. For to do this 
automatically, you can set it with command:

SET( EXECUTABLE_OUTPUT_PATH 'desired path'
      CACHE PATH "text" )

Gabriel.

Emmanuel Blot wrote:
> I can't figure out why CMake keeps building in the source directory 
> rather than in the current directory:
> 
> $ cmake --version
> cmake version 2.6-patch 0
> 
> $ echo $PWD
> /home/eblot/t380/host/build/project
> 
> $ cmake ../../src/project
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/eblot/t380/host/src/project
> 
> Should I need to set some specific configuration parameters to enable 
> out-of-source build ?
> 
> This issue occurs on Cygwin (WinXP SP3) - at least
> 
> Thanks,
> Manu
> 
> 
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 
> 

_____________________________
La informacion contenida en esta transmision es confidencial, y no puede ser usada por otras personas que su(s) destinatario(s). El uso no autorizado de la informacion contenida en esta transmision puede ser sancionado. Si ha recibido esta transmision por error, por favor destruyala y notifique al remitente telefonicamente, con cobro revertido o via e-mail.

The information contained in this transmission is privileged, and may not be used by any person other than its addressee(s). Unauthorized use of the information contained in this transmission may be punished  by law.  If received in error, please destroy and notify the sender by calling collect or by e-mail.
_____________________________

_____________________________
La informacion contenida en esta transmision es confidencial, y no puede ser usada por otras personas que su(s) destinatario(s). El uso no autorizado de la informacion contenida en esta transmision puede ser sancionado. Si ha recibido esta transmision por error, por favor destruyala y notifique al remitente telefonicamente, con cobro revertido o via e-mail.

The information contained in this transmission is privileged, and may not be used by any person other than its addressee(s). Unauthorized use of the information contained in this transmission may be punished  by law.  If received in error, please destroy and notify the sender by calling collect or by e-mail.
_____________________________


More information about the CMake mailing list