[CMake] Cmake and devkitpro

2015-02-16 Thread Clément Gregoire
Hi, I'm looking for a way to use CMake with the devkitpro toolchain ( http://sourceforge.net/projects/devkitpro/files/ ) I would like to be able to compile nds and 3ds homebrews. It is a gcc based toolchain, and users have to define DEVKITPRO and DEVKITARM env variables, giving the location of the

Re: [CMake] creating start menu items

2015-02-16 Thread Paul Anton Letnes
This seems to match what I've seen in my so-far light experimentation. What's the fix? Use wix XML patches? I'm betting my money on the WiX train as this is what we use elsewhere in my organization. Also I can live without the start menu items in the very worst case. cheers Paul > On 13. feb

Re: [CMake] How to build a target on install (only)?

2015-02-16 Thread Paul Smith
On Mon, 2015-02-16 at 09:55 -0500, David Cole wrote: > Ah ha! Back to the simpler approach with install(CODE! > > Good idea, Nils. > > Then you just need a stamp/sentinel file associated with running the > operation, and you can check it against your input. Aha, that works well. I don't nee

Re: [CMake] How to build a target on install (only)?

2015-02-16 Thread David Cole via CMake
Ah ha! Back to the simpler approach with install(CODE! Good idea, Nils. Then you just need a stamp/sentinel file associated with running the operation, and you can check it against your input. For your "comment" line, you could use "cmake -E echo" to spit out a comment before running the dSY

Re: [CMake] How to build a target on install (only)?

2015-02-16 Thread David Cole via CMake
The other way you could approach this, but which would not be as simple would be to invent *your own* custom install target (install_with_dSYM, or whatever name makes sense to you). Then you could have that target depend on all the custom targets that build the dSYM files. When you build this custo

Re: [CMake] How to build a target on install (only)?

2015-02-16 Thread Nils Gladitz
On 02/16/2015 03:25 PM, Paul Smith wrote: On Sun, 2015-02-15 at 18:26 -0600, Iosif Neitzke wrote: For conditional file install, you could try something like "cmake -E copy_if_different". That won't work; I don't have any files to copy. What I want is to run the dsymutil command during install

Re: [CMake] How to build a target on install (only)?

2015-02-16 Thread Paul Smith
On Sun, 2015-02-15 at 18:26 -0600, Iosif Neitzke wrote: > For conditional file install, you could try something like "cmake -E > copy_if_different". That won't work; I don't have any files to copy. What I want is to run the dsymutil command during install only, not during the normal build (becaus