[CMake] BundleUtilities Error on Install

2011-01-04 Thread Michael Jackson
Running on Windows 7 x64 with CMake 2.8.3 and Visual Studio 2008. My project is configured with the Win64 type. I am trying to consolidate my installation code to use the BundleUtilities on all platforms where possible. I can not figure out what is going wrong with the install project. Here is a

[CMake] control order of custom target as a sub-part of a customized KDE build

2011-01-04 Thread Shawn Rutledge
I am building a KDE control panel plugin, and there is a requirement to use a different translation mechanism rather than the default Qt "tr" macros. So I want to post-process my ui_*.h files to replace lines like this ClearSiteDataDialog->setWindowTitle(tr2i18n("foo", 0)); with the rep

Re: [CMake] Chasing up: XCode 3.2.4 and CMake 2.8.2, setting GCC version to 4.0

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 9:59 AM, John Clayton wrote: > I have a solution for the problem of creating XCode 3.2.x project on a 10.6 > machine that are to target the 10.4u SDK. > > Here's what I did (thanks to the OGRE and Open Scene Graph projects - which > exposed me to this solution). > > WARNING

Re: [CMake] how to submit customized test report

2011-01-04 Thread Tyler Roscoe
On Mon, Jan 03, 2011 at 05:48:13AM -0800, girish hilage wrote: >    So, now I have to edit Test.xml generated by 'ctest' under directory : >    /home/girish/project/trunk/Testing/20110103-1027/ > >    What I would like to know is, if there is any 'CTEST_' variable which > would give me path of t

Re: [CMake] Chasing up: XCode 3.2.4 and CMake 2.8.2, setting GCC version to 4.0

2011-01-04 Thread Michael Wild
Hi John You shouldn't rely on CMAKE_SIZEOF_VOID_P anyway; it's deadly when you try to build a universal binary. Much better to use the CheckTypeSize module with which you can do the following: include(CheckTypeSize) check_type_size("void*" SIZEOF_VOID_P) if(SIZEOF_VOID_P STREQUAL "") message(SE

Re: [CMake] Chasing up: XCode 3.2.4 and CMake 2.8.2, setting GCC version to 4.0

2011-01-04 Thread John Clayton
I have a solution for the problem of creating XCode 3.2.x project on a 10.6 machine that are to target the 10.4u SDK.Here's what I did (thanks to the OGRE and Open Scene Graph projects - which exposed me to this solution). WARNING: my solution assumes a 32 bit build, so here goes:Here's how: put th

Re: [CMake] Filenames becomes too big on windows (VS10)

2011-01-04 Thread Brad King
On 01/04/2011 07:44 AM, Martin Nielsen wrote: > Would it be possible to direct CMake to use absolute filenames in the > project files instead of the relative path? Put the build directory somewhere that is not inside the source directory. -Brad ___ Powe

[CMake] Filenames becomes too big on windows (VS10)

2011-01-04 Thread Martin Nielsen
Hi All I'm curently facing an issue with filenames becoming too big with the Visual Studio 10 generator. Doing the compilation of our source code I get the following errors: "C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no _log\Synergy.sln" (default target) (1) -> "C

Re: [CMake] VS2010 solution/project reload

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 7:51 AM, Rolf Eike Beer wrote: >> On Tue, Jan 4, 2011 at 6:58 AM, Andrea Galeazzi wrote: >>> I'm currently dealing with a project requiring a lot of dependencies >>> (74), >>> so the structure of the CMakeLists.txt is as following: >>> project ( Main ) >>>  add_subdirectory

Re: [CMake] VS2010 solution/project reload

2011-01-04 Thread Rolf Eike Beer
> On Tue, Jan 4, 2011 at 6:58 AM, Andrea Galeazzi wrote: >> I'm currently dealing with a project requiring a lot of dependencies >> (74), >> so the structure of the CMakeLists.txt is as following: >> project ( Main ) >> add_subdirectory("W:/Lib1" "${CMAKE_CURRENT_BINARY_DIR}/Lib1") >> add_subdi

Re: [CMake] How to find the path to the currently include() or find_package file()

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 2:00 AM, Michael Hertling wrote: > On 01/04/2011 07:41 AM, Michael Hertling wrote: >> On 01/04/2011 05:47 AM, John McGehee wrote: >>> I am using CMake 2.8 on Linux and Windows. >>> >>> When I include() or find_package() a .cmake file, is there a variable that >>> I can use

Re: [CMake] VS2010 solution/project reload

2011-01-04 Thread David Cole
On Tue, Jan 4, 2011 at 6:58 AM, Andrea Galeazzi wrote: > I'm currently dealing with a project requiring a lot of dependencies (74), > so the structure of the CMakeLists.txt is as following: > project ( Main ) >  add_subdirectory("W:/Lib1"  "${CMAKE_CURRENT_BINARY_DIR}/Lib1") >  add_subdirectory("W

[CMake] VS2010 solution/project reload

2011-01-04 Thread Andrea Galeazzi
I'm currently dealing with a project requiring a lot of dependencies (74), so the structure of the CMakeLists.txt is as following: project ( Main ) add_subdirectory("W:/Lib1" "${CMAKE_CURRENT_BINARY_DIR}/Lib1") add_subdirectory("W:/Lib2" "${CMAKE_CURRENT_BINARY_DIR}/Lib2") add_subdirectory("