[CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Ian Monroe
My project is currently producing 100mb RPM/Deb's, but with stripped binaries it should clock in at about 20mb. I have CPACK_STRIP_FILES set to true. Notably when I do make install/strip that doesn't seem to work either. Looking more closely, I see that install/strip does work for the files

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Eric Noulard
2013/1/20 Ian Monroe i...@monroe.nu: My project is currently producing 100mb RPM/Deb's, but with stripped binaries it should clock in at about 20mb. I have CPACK_STRIP_FILES set to true. Notably when I do make install/strip that doesn't seem to work either. Looking more closely, I see that

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Ian Monroe
On Sun, Jan 20, 2013 at 3:13 AM, Eric Noulard eric.noul...@gmail.com wrote: 2013/1/20 Ian Monroe i...@monroe.nu: My project is currently producing 100mb RPM/Deb's, but with stripped binaries it should clock in at about 20mb. I have CPACK_STRIP_FILES set to true. Notably when I do make

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Ian Monroe
On Sun, Jan 20, 2013 at 10:47 AM, Ian Monroe i...@monroe.nu wrote: Yea I guess I could do install(CODE...) and then a file(GLOB...) would actually work. Actually not so sure how to do it, since if I write something like this: install( CODE file(GLOB installedLibrares

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Eric Noulard
2013/1/20 Ian Monroe i...@monroe.nu On Sun, Jan 20, 2013 at 10:47 AM, Ian Monroe i...@monroe.nu wrote: Yea I guess I could do install(CODE...) and then a file(GLOB...) would actually work. Actually not so sure how to do it, since if I write something like this: install( CODE file(GLOB

[CMake] Why does ExternalProject require root access?

2013-01-20 Thread Ansis Māliņš
The line ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR}) fails with Install the project... -- Install configuration: Release CMake Error at cmake_install.cmake:38 (FILE): file cannot create directory: /usr/local/lib/pkgconfig. Maybe need administrative privileges. Why? How do I

Re: [CMake] Why does ExternalProject require root access?

2013-01-20 Thread Nick Overdijk
I use add_subdirectory to add bullet and sdl.. Could you try that? I've never worked with ExternalProject_Add and wouldn't really know what it does. On 2013-20-01, at 22:26:44 , Ansis Māliņš wrote: The line ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR}) fails with Install the

Re: [CMake] Why does ExternalProject require root access?

2013-01-20 Thread Eric Noulard
2013/1/20 Ansis Māliņš ansis.mal...@gmail.com The line ExternalProject_Add(bullet PREFIX ${PROJECT_SOURCE_DIR}) fails with Install the project... -- Install configuration: Release CMake Error at cmake_install.cmake:38 (FILE): file cannot create directory: /usr/local/lib/pkgconfig. Maybe

Re: [CMake] Why does ExternalProject require root access?

2013-01-20 Thread Ansis Māliņš
I use add_subdirectory to add bullet and sdl.. Could you try that? That's what I tried initially, but another external project dependent on Bullet, btOgre, failed to find_package(Bullet). I think it's because when CMake configures btOgre it expects Bullet binaries to be built and installed

Re: [CMake] Why does ExternalProject require root access?

2013-01-20 Thread Nick Overdijk
You don't use find_package when add_subdirectory, just target_link_library(target name by Bullet). I'm not sure if this is frowned upon or not, but it does work, and shouldn't change that often or anything. Strictly speaking it's a bit dirty though. Thing is, why is bullet build by you? Do you

Re: [CMake] Why does ExternalProject require root access?

2013-01-20 Thread Ansis Māliņš
There is no Bullet package for Ubuntu. But most importantly there is no such thing as packages in Windows. So I have to build it into my app. I also want to avoid having to alter the CMake files of my dependencies. I want other devs to be able to just check out the latest version of Bullet into a

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Ian Monroe
On Sun, Jan 20, 2013 at 1:03 PM, Eric Noulard eric.noul...@gmail.com wrote: I'd rather create a script strip-all-installed-file.cmake and do install(SCRIPT strip-all-installed-files.cmake) then the content of strip-all-installed-files.cmake does not need escaping. Thanks for the tip. I'll

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Ian Monroe
On Sun, Jan 20, 2013 at 1:03 PM, Eric Noulard eric.noul...@gmail.com wrote: It will only affect the files that were make installed not the files used by CPack ? CPack does call cmake -P cmake_install.cmake so **all files** packaged by CPack are somehow **installed** previously.

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Ian Monroe
On Sun, Jan 20, 2013 at 3:44 PM, Ian Monroe i...@monroe.nu wrote: On Sun, Jan 20, 2013 at 1:03 PM, Eric Noulard eric.noul...@gmail.com wrote: It will only affect the files that were make installed not the files used by CPack ? CPack does call cmake -P cmake_install.cmake so **all files**

Re: [CMake] Why does ExternalProject require root access?

2013-01-20 Thread Eric Noulard
2013/1/21 Ansis Māliņš ansis.mal...@gmail.com I don't really know but your ExternalProject_Add( looks strange? Changing PROJECT_*_DIR to CMAKE_*_DIR doesn't help. Neither does setting directories directly instead of setting PREFIX. I think I wasn't clear. I supposed that your

Re: [CMake] CPACK_STRIP_FILES not working for files not built by project

2013-01-20 Thread Eric Noulard
2013/1/21 Ian Monroe i...@monroe.nu On Sun, Jan 20, 2013 at 1:03 PM, Eric Noulard eric.noul...@gmail.com wrote: It will only affect the files that were make installed not the files used by CPack ? CPack does call cmake -P cmake_install.cmake so **all files** packaged by CPack are

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1664-g215296d

2013-01-20 Thread Stephen Kelly
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 215296dc6cebb702d588be03222337a4d4a79b7f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1667-gc9a242d

2013-01-20 Thread Stephen Kelly
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 c9a242d1b0fe87084f7f604199ad47e2564d285e (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1672-gd47c6c0

2013-01-20 Thread Stephen Kelly
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 d47c6c0bd03502146f6cedbbcd6806c050bbd5d7 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1674-gf627eb3

2013-01-20 Thread Stephen Kelly
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 f627eb31c0a39cd8b619ebfe3742bf9f836cd422 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1676-gc28162d

2013-01-20 Thread Stephen Kelly
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 c28162d00c4c572f6aa8f33a268533c9b5ba71d2 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1678-gd1897e2

2013-01-20 Thread Stephen Kelly
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 d1897e26af684dc7d23b27dbbf6d0020e0ebb4c3 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1684-g4b0ce06

2013-01-20 Thread Stephen Kelly
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 4b0ce0697c01f87143509f12ff0bc35242bf45b6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1686-g12076cd

2013-01-20 Thread Stephen Kelly
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 12076cd6c38a8085e85a8a626ae869bd000a0f25 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1688-g4c78d98

2013-01-20 Thread Stephen Kelly
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 4c78d989d6c76dcf7b7f79abc42c41d7d6f3679d (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1690-g0150c29

2013-01-20 Thread Stephen Kelly
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 0150c29f395fdb7ce115cdd5bcca59f55b1d574e (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1692-g1bbf44a

2013-01-20 Thread Stephen Kelly
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 1bbf44a788987e602d9c032be198ed919afcc6f2 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.10.2-479-g3ded614

2013-01-20 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 3d9ab41..45fc936 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 10) -set(CMake_VERSION_TWEAK 20130120

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1694-gaea2711

2013-01-20 Thread Stephen Kelly
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 aea271102af77135310a6dfef44d75cc328ac67e (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1699-g268e3a6

2013-01-20 Thread Stephen Kelly
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 268e3a63a1dcb31ef9a8cd2b2b1ab173185f4518 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1701-ge590856

2013-01-20 Thread Stephen Kelly
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 e590856721fcfb8ca7a491de62d5656121f5a6bc (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1703-gb54c10d

2013-01-20 Thread Stephen Kelly
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 b54c10d333b33b61f14bde589fd40913524b5391 (commit) via