Re: [CMake] Use GLOB to generate filelist for install package

2016-08-11 Thread Patrik Lehmann
Thank You both. Now it works! Am 11.08.2016 um 11:29 schrieb Stuermer, Michael SP/HZA-ZSEP: -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Patrik Lehmann Sent: Thursday, August 11, 2016 11:04 AM To: cmake@cmake.org Subject: [CMake] Use GLOB to generate

Re: [CMake] Use GLOB to generate filelist for install package

2016-08-11 Thread Stuermer, Michael SP/HZA-ZSEP
> -Original Message- > From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Patrik > Lehmann > Sent: Thursday, August 11, 2016 11:04 AM > To: cmake@cmake.org > Subject: [CMake] Use GLOB to generate filelist for install package > > Hello, > > I try to

Re: [CMake] Use GLOB to generate filelist for install package

2016-08-11 Thread CHEVRIER, Marc
Remove the quotes around the variable MY_INCLUDES_H in the INSTALL command because this is a list. Using quotes, you pass it as a single string. On 11/08/16 11:03, "CMake on behalf of Patrik Lehmann" wrote: Hello,

[CMake] Use GLOB to generate filelist for install package

2016-08-11 Thread Patrik Lehmann
Hello, I try to use GLOB to collect the files for my install package, but unfortunately I got the message 'file INSTALL cannot find "C:/Project/include/test1.h;C:/Project/include/test2.h;...' My code: FILE(GLOB MY_INCLUDES_H "${PROJECT_SOURCE_DIR}/include/*.h") INSTALL(FILES