Re: [CMake] Windows rpath emulation

2014-09-20 Thread Nils Gladitz
On 20.09.2014 23:31, Roland Schulz wrote: Hi, it would be nice if there were a way to emulate rpath under Windows. As far as I can see there are two possible approaches: - Generate a shell script which sets PATH - Generate a manifest for the application and a manifest for the dependencies. ht

[CMake] Windows rpath emulation

2014-09-20 Thread Roland Schulz
Hi, it would be nice if there were a way to emulate rpath under Windows. As far as I can see there are two possible approaches: - Generate a shell script which sets PATH - Generate a manifest for the application and a manifest for the dependencies. http://sourceforge.net/p/mingw-w64/mailman/messag

Re: [CMake] Modify nsis command?

2014-09-20 Thread Hendrik Sattler
Hi, this is a fairly simple task. You just need to generate (with configure_file) the Cpack nsis template from your own template (the template's template that is). As an alternative you can do a similar thing with the Cpackconfig file. HS On 20. September 2014 18:45:41 MESZ, Richard Shaw wrot

Re: [CMake] Modify nsis command?

2014-09-20 Thread Richard Shaw
On Sat, Sep 20, 2014 at 12:40 PM, Iosif Neitzke < iosif.neitzke+cm...@gmail.com> wrote: > Which defines, for example? I'm not sure why it matters but the projects maintains it's own nsis config file and in there is expects that the binaries which are being packaged (could be one, or the other, o

Re: [CMake] Modify nsis command?

2014-09-20 Thread Iosif Neitzke
Which defines, for example? On Sat, Sep 20, 2014 at 11:45 AM, Richard Shaw wrote: > In my continued efforts to convert a project from autotools to CMake I've > gotten to the point of creating an NSIS package. > > I'm trying not to modify any existing source files and the current method > passes s

[CMake] Modify nsis command?

2014-09-20 Thread Richard Shaw
In my continued efforts to convert a project from autotools to CMake I've gotten to the point of creating an NSIS package. I'm trying not to modify any existing source files and the current method passes some defines to the nsis binary but I can't see any way to do that with the available CPACK va