[CMake] CPack with ExternalProjects

2016-02-12 Thread Zac Bergquist
Hello, I have a CMake project that uses CPack to generate a tgz file. When I build it and run CPack, it produces project-X.Y.Z in the build directory (where X, Y, and Z are ${CPACK_PACKAGE_VERSION_MAJOR}/minor/patch). I recently decided to add a new "super project" that builds both my project an

[CMake] FindMPI prefer mpirun over mpiexec

2016-02-12 Thread Jack Stalnaker
Hi, Is there a way to make FindMPI prefer the name 'mpirun' over 'mpiexec'? They have different meanings to Intel's MPI. By default, FindMPI locates mpiexec, which runs the MPD based MPI. I'd rather use mpirun. FindMPI knows mpirun, but in FindMPI.cmake, it looks like mpirun is searched after mpie

[CMake] Generator expression $ in add_custom_command()

2016-02-12 Thread Kukosa Tomáš
Hi, would it be possible and useful to support the TARGET_OBJECTS also in the add_custom_command() context (COMMAND and DEPENDS options)? What I need is to build list of objects and than process them by custom command. Best regards, Tomas -- Powered by www.kitware.com Please keep message