2010/12/11 Louis Hoefler :
> Indeed, it works with
> INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/massmailer DESTINATION bin)
This is not the appropriate way to install a target build with cmake
(even if it works).
Like Tyler said you should be doing something wrong in your CMakeLists.txt.
>
> PS
Indeed, it works with
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/massmailer DESTINATION bin)
PS.: This is only a development computer, you do not want to know how
ofter I accidently entered rm -f somewhere, and since I want to install
into the global bin path, I need root access.
Thank you
On Fri, Dec 10, 2010 at 08:11:45PM +0100, Louis Hoefler wrote:
> -- Build files have been written to: /root/massmailer/Debug
Probably not a good idea to be doing this kind of thing as root.
> [100%] Built target massmailer
> -- Configuring done
> -- Generating done
> -- Build files have been writ
Hello everyone,
i currently try to setup a make configuration where the debug and the
release version of my programm should be built into different subfolders.
My problem is that the installation does not find the created executable.
The directory stucture looks like this:
/massmailer
CmakeLis