Re: [CMake] 'CPACK_RPM_PACKAGE_AUTOPROV' doesn't work when pack existing binaries with CPack

2016-03-27 Thread Wang, Peng 1. (Nokia - CN/Hangzhou)
Thanks for your answer. Actually, I was trying this on RHEL, not ubuntu. rpmbuild and rpmdevtools are correctly installed in my machine, I've tested that to generate RPM with my spec file based on rpmbuild and rpmdevtools, it works, libraries information is generated in the 'PROVIDES' fields of

[CMake] cmake-3.5.1 for AIX 5.3 TL7 and later

2016-03-27 Thread Michael Felt
Just completed the build for cmake on a AIX 5.3 system, so the packaging will be accepted also by AIX 6.1, AIX 7.1 and AIX 7.2. The package is available via: http://www.aixtools.net/index.php/cmake Note: still have to update the link - if you are too fast you will see my packaging for cmake-2.

[CMake] add_custom_command() OUTPUT does not accept generator expressions, why?

2016-03-27 Thread Dan Liew
Hi, I tried writing a add_custom_command statement that will output the generated file into the same directory as another target ``` set(OUTPUT_NAME "$/MyThing.dll") add_custom_command(OUTPUT "${OUTPUT_NAME}" COMMAND "csc.exe" "/output:$" "MySource.cs" ) ``` This doesn't work. CMake emits thi