Re: [CMake] Volunteering to become maintainer of FindLibLZMA.cmake

2012-05-24 Thread Rolf Eike Beer
Am Freitag, 25. Mai 2012, 08:32:32 schrieb Mario Bensi: > Yes it's done, actually i wait my git push access When you push you module please also add it to the test in Tests/CMakeOnly/AllFindModules/CMakeLists.txt if (and only if!) it is expected that a version number can always be found if the l

Re: [CMake] Volunteering to become maintainer of FindLibLZMA.cmake

2012-05-24 Thread Mario Bensi
Yes it's done, actually i wait my git push access Mario On Tuesday, May 22, 2012 09:56:28 PM Alexander Neundorf wrote: On Monday 14 May 2012, Mario Bensi wrote: > Hi, > > The last file with all change requested is correct for you ? > > Do you think it's possible to integrate it in cmake ? I'd

Re: [CMake] Clang + MinGW Linking Issue

2012-05-24 Thread Justin Holewinski
Were you passing custom command-line arguments in the project? Clang only accepts a very limited set of CL-style arguments (AFAIK): >c:\projects\llvm-dev\build-3.1\bin\clang clang-test.c -out:clang-test.exe >c:\projects\llvm-dev\build-3.1\bin\clang clang-test.c -out:clang-test.exe -Zm clang: err

Re: [CMake] Clang + MinGW Linking Issue

2012-05-24 Thread Keith Gardner
I have built clang (llvm) on windows with Visual Studio 2010 and used the built binaries as the compiler inside of a Visual Studio project. This was with clang 3.0 and llvm 2.9.1. From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Justin Holewinski Sent: Thursday, May

Re: [CMake] Clang + MinGW Linking Issue

2012-05-24 Thread Justin Holewinski
On Thu, May 24, 2012 at 10:08 AM, Brad King wrote: > On 05/24/2012 12:22 PM, Justin Holewinski wrote: > > I narrowed the problem down to Clang not having > Platform/Windows-Clang-{C,CXX}.cmake files. > > There is an issue tracker entry for this: > > http://www.cmake.org/Bug/view.php?id=13035 > >

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-24 Thread Gerhard den Hollander
What we did here, faced with the same issue, is have an automated, ightly build that builds everything, and then have partial checkouts. The cmake link dependencies then first check if there is local source and local libs, and if so uses those, otherwise it takes the nightly build libs. A bit of

Re: [CMake] Clang + MinGW Linking Issue

2012-05-24 Thread Brad King
On 05/24/2012 12:22 PM, Justin Holewinski wrote: > I narrowed the problem down to Clang not having > Platform/Windows-Clang-{C,CXX}.cmake files. There is an issue tracker entry for this: http://www.cmake.org/Bug/view.php?id=13035 but it is in the backlog waiting for more feedback and a volunt

Re: [CMake] Clang + MinGW Linking Issue

2012-05-24 Thread Justin Holewinski
Hi Again, I narrowed the problem down to Clang not having Platform/Windows-Clang-{C,CXX}.cmake files. If I add the following two files then everything starts to work as expected: Platform/Windows-Clang-C.cmake: if(MINGW) include(Platform/Windows-GNU) __windows_compiler_gnu(C) else() # Cha

Re: [CMake] Custom install target to install only files

2012-05-24 Thread Michael Wild
On 05/24/2012 03:43 PM, vivek goel wrote: > I have a project with 10 binary files. > and I am installing custom 15 bash files using > > install(PROGRAMS > > DESTINATION /bin > ) > > Is there a way to have custom install target like > make install script which

Re: [CMake] Custom install target to install only files

2012-05-24 Thread David Cole
Perhaps consider using the COMPONENTS feature of the install rules. On Thu, May 24, 2012 at 9:43 AM, vivek goel wrote: > I have a project with 10 binary files. > and I am installing custom 15 bash files using > > install(PROGRAMS > > DESTINATION /bin > ) > > Is the

[CMake] Test organization within cmake

2012-05-24 Thread Damien R
Hi, I want some help to organize tests within cmake. Currently I have a test directory which contains some test files, eg : test_foo.cpp test_bar.cpp In the CMakeLists.txt, I had: add_executable(test_foo test_foo.cpp) add_test(test_foo test_foo) add_executable(test_bar test_bar.cpp) add_test(tes

[CMake] Custom install target to install only files

2012-05-24 Thread vivek goel
I have a project with 10 binary files. and I am installing custom 15 bash files using install(PROGRAMS DESTINATION /bin ) Is there a way to have custom install target like make install script which will install only required script files with building source code for

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-24 Thread Bill Hoffman
On 5/23/2012 5:55 PM, Oliver Smith wrote: On 5/23/2012 4:45 PM, jrosensw wrote: Hi Alexander, I tried this already. However I'm not sure what a "clean build tree" means. Maybe thats my problems. All I did was this: CXX="/insure/g++" cmake . But when I compiled I did not see a change. How do I