Re: [CMake] cpack generator variable

2016-02-28 Thread Petr Kmoch
Hi Tiago. If you happen to know the directory for each configuration at CMake configure time, you could do this: install(DIRECTORY path/to/Debug/dir DESTINATION bin CONFIGURATIONS Debug COMPONENT files ) install(DIRECTORY path/to/Release/dir DESTINATION bin CONFIGURATIONS Release COM

[CMake] cpack generator variable

2016-02-26 Thread Tiago Macarios
Hi All, I have a cmake project which one of the install targets is a collection of files. This files change depending on the configuration (Release, Debug...). I would like to be able to install the files like so: install(DIRECTORY $ DESTINATION bin COMPONENT files) >From the docs I see