Re: [CMake] Help with INSTALL(TARGETS

2008-06-10 Thread Michael Salt
It is alright now Alex. When I put the INSTALL paths in the actual directories themselves, rather than the top directory, it all worked fine. It put the executable in 'Program Files' which I really did not expect, and missed it. Basically, I had the main directory, GPMAD, and three subdirec

Re: [CMake] Help with INSTALL(TARGETS

2008-06-10 Thread Alexander Neundorf
On Tuesday 10 June 2008, Michael Salt wrote: > Thanks Alex, > > The trouble is that at the moment, my targets (.exe, .dll) are built > in a directory within the 'build' folder. Of course, the contents of > the build folder are not generated until I run cmake, so I actually > have nowhere to put the

Re: [CMake] Help with INSTALL(TARGETS

2008-06-10 Thread Michael Salt
Thanks Alex, The trouble is that at the moment, my targets (.exe, .dll) are built in a directory within the 'build' folder. Of course, the contents of the build folder are not generated until I run cmake, so I actually have nowhere to put the CMakeLists.txt file. I do not want to create t

Re: [CMake] Help with INSTALL(TARGETS

2008-06-09 Thread Alexander Neundorf
On Monday 09 June 2008, Michael Salt wrote: > Hello All, > ... > There are two other directories, gmadParser and CUDA, each containing > an add_libraries() command. > > When I generate a Visual Studio 9 project, I get the following error > message... > "CMake Error at CMakeLists.txt:9 (INSTALL): >

[CMake] Help with INSTALL(TARGETS

2008-06-09 Thread Michael Salt
Hello All, This is my first cmake post, please be gentle. I have a cmake project that consists of a top level, and then three sublevels which contain the individual projects. At this moment, compilation happens without fault, but runtime fails due to DLLs not being in the correct place.