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=path/insurepath/g++ cmake . But when I compiled I did not see a change. How

[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 file-list DESTINATION /bin ) Is there a way to have custom install target like make install script which will install only required script files with building

[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)

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 goelvivek2...@gmail.com wrote: I have a project with 10 binary files. and I am installing custom 15 bash files using install(PROGRAMS file-list DESTINATION

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 file-list DESTINATION /bin ) Is there a way to have custom install target like make install script which

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() #

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

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 Justin Holewinski
On Thu, May 24, 2012 at 10:08 AM, Brad King brad.k...@kitware.com 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:

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
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:

[Cmake-commits] CMake branch, next, updated. v2.8.8-2925-ged4c743

2012-05-24 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via ed4c7436c0379eb4c1c07ef1455e68366bf87890 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-203-g59bdb87

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 59bdb879e8355537a30aa5a39b72ad54146d2c9b (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-208-gdb1857e

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via db1857e14250f1bbafd69f6bfb78f248101e164d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-211-g3e23da0

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 3e23da0688d68a6ca36e65bd6eaf9a435750 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-213-g68d1774

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 68d177432795f0113af9cb9efd2f428705a996a2 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-215-gbc936c1

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via bc936c1cd5bfb48d7cc3da8a00f7302580ffee10 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-217-g8d83d20

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 8d83d20f2db309ab3a89c17decc54bc4a182adc1 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-220-g116a62c

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 116a62c07e4d78156f5465a94ae45f628af20dab (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2934-g95da6ab

2012-05-24 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 95da6ab22b9a965df824f5e9d5e13fa77a70c2ca (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-221-gb639549

2012-05-24 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index b02b3a8..66a439b 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ SET(CMake_VERSION_MAJOR 2) SET(CMake_VERSION_MINOR 8) SET(CMake_VERSION_PATCH 8) -SET(CMake_VERSION_TWEAK 20120524