[cmake-developers] [CMake 0011674]: 'CMakeCXXInformation.cmake' always overrides 'CMAKE_CXX_ARCHIVE_CREATE'

2011-01-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=11674 == Reported By:Harald Pohl Assigned To:

[cmake-developers] [CMake 0011676]: find_package(Java) gives warning regex not supported

2011-01-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11676 == Reported By:Gerhard Grimm Assigned To:

[cmake-developers] [CMake 0011679]: CMAKE_FORCE_C_COMPILER fails to parse compiler name that contains a version number

2011-01-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11679 == Reported By:Emmanuel Blot Assigned To:

[cmake-developers] [CMake 0011680]: FIND_PROGRAM fails to locate a versioned compiler

2011-01-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11680 == Reported By:Emmanuel Blot Assigned To:

[cmake-developers] Generating information for C++ tools in cmake (patch)

2011-01-10 Thread Manuel Klimek
Hi, we're working on C++ tools based on clang to get the power of automated refactoring and analysis that Java has known for years to C++ developers. With the attached patch I include a proposal for how we could export the compile command line for C/C++ files from cmake for Unix makefile

[CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning regex not supported

2011-01-10 Thread Gerhard Grimm
Hello there, recently I upgraded the CMake installation on our HP-UX 11.23 (IA64) system from 2.6.4 to 2.8.3. The system has HP's Java Runtime Environment installed in /opt/java6 (the environment variable JAVA_HOME is set accordingly). When calling find_package(Java REQUIRED) in a

[CMake] Issue with CMakeDetermineASMCompiler.cmake on 2.8.3

2011-01-10 Thread Emmanuel Blot
Hello, I'm not sure if this issue has already been reported, but ithe following command: ENABLE_LANGUAGE (ASM-ATT OPTIONAL) Triggers the following error, starting at CMake 2.8.3 (worked well up to 2.8.2): CMake Error at cmake/Modules/CMakeDetermineASMCompiler.cmake:68

[CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-10 Thread Emmanuel Blot
Hello All, I've just bumped into an issue with Cygwin. I have not compiled with CMake and Cygwin for a while, so I'm not sure where the problem comes from (Cygwin, CMake, or the combination of both). The following command used to work on all platforms (Linux, Mac OS X, Cygwin): FIND_PROGRAM

[CMake] CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH, but should it?

2011-01-10 Thread Bjørn Forsman
Hi all, I just found out that CHECK_INCLUDE_FILES ignores CMAKE_FIND_ROOT_PATH. The documentation for CHECK_INCLUDE_FILES says: ... The following variables may be set before calling this macro to modify the way the check is run: CMAKE_REQUIRED_FLAGS = string of compile command line

Re: [CMake] CPack tar ownership

2011-01-10 Thread Tim St. Clair
Thanks! I think I botched my 1st verification... fakeroot gives me a root owned package, which expands correctly using tar --no-same-owner -xzf. w00t, Tim On Sat, Jan 8, 2011 at 8:22 AM, Eric Noulard eric.noul...@gmail.com wrote: 2011/1/8 Tim St. Clair timoth...@gmail.com: This will be across

[CMake] Cross-compiling a static library (CMake 2.8.3)

2011-01-10 Thread Emmanuel Blot
Hello, Using the ADD_LIBRARY command for a static library (.a), how to tell CMake to use the ranlib tool for the target, not the default one for the host? I'm getting the following warning message: cd watchdog /usr/local/Cellar/cmake/2.8.3/bin/cmake -E cmake_link_script

[CMake] cmake and buildvariants

2011-01-10 Thread John Beuving
I have the following software setup where I need to have build variants providing different builds for the same (sub)project -worker ( calls the Qt Processevents function if Qt is enabled for this project (#define USE_WORKER_QT) -gui app (uses Qt) -console app (normal

Re: [CMake] Cross-compiling a static library (CMake 2.8.3)

2011-01-10 Thread Emmanuel Blot
I'm getting the following warning message: From http://www.cmake.org/pipermail/cmake/2010-September/039705.html, it seems on my development environment that _CMAKE_TOOLCHAIN_PREFIX is left empty. If I force this variable to the expected value (arm-eabi-), the proper tools are detected and

[CMake] CPack and configure_file

2011-01-10 Thread Tobias Ellinghaus
Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make package_source these files are not included so that the resulting source package is basically useless. Is

Re: [CMake] Cross-compiling a static library (CMake 2.8.3)

2011-01-10 Thread Bjørn Forsman
Hi, On 10 January 2011 17:00, Emmanuel Blot eblot...@gmail.com wrote: Hello, Using the ADD_LIBRARY command for a static library (.a), how to tell CMake to use the ranlib tool for the target, not the default one for the host? I'm getting the following warning message: cd watchdog

Re: [CMake] Regex help: multi-line matching and matching backslashes

2011-01-10 Thread Ben Medina
It doesn't seem to work: cmake_minimum_required (VERSION 2.8) set (contents Hello\nWorld!) message (${contents}) string (REGEX MATCHALL Hello[\\r\\n\\t ]*World! matches ${contents}) message (Matches:) foreach (match ${matches}) message (${match}) endforeach () This produces no matches. If

Re: [CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning regex not supported

2011-01-10 Thread Bill Hoffman
Can you create a bug entry for this? On 1/10/2011 7:39 AM, Gerhard Grimm wrote: Hello there, recently I upgraded the CMake installation on our HP-UX 11.23 (IA64) system from 2.6.4 to 2.8.3. The system has HP's Java Runtime Environment installed in /opt/java6(the environment variable

Re: [CMake] fixup_bundle() and stripping prerequisites

2011-01-10 Thread KC Jones
I'm interested in this too. My CPack script is limping along now, but the resulting bundle yields reams of log messages like: 1/6/11 5:50:49 PM [0x0-0x2d42d4].myspp[23814] objc[23814]: Class QCocoaColorPanelDelegate is implemented in both

Re: [CMake] CPack and configure_file

2011-01-10 Thread Andreas Pakulat
On 10.01.11 17:26:04, Tobias Ellinghaus wrote: Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make package_source these files are not included so that the

[CMake] add_subdirectory and link_directories

2011-01-10 Thread Andrea Galeazzi
I've got a main project which relies on several sub-library projects, so the main CMakeLists.txt add_subdirectory(W:/Omega/Kernel ${CMAKE_CURRENT_BINARY_DIR}/myLib1) ... and then I also specify the directory where all libraries have been built (by setting ARCHIVE_OUTPUT_DIRECTORY for

Re: [CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning regex not supported

2011-01-10 Thread David Cole
It's already reported. It's in the note on this bug: http://public.kitware.com/Bug/view.php?id=11183 On Mon, Jan 10, 2011 at 12:11 PM, Bill Hoffman bill.hoff...@kitware.comwrote: Can you create a bug entry for this? On 1/10/2011 7:39 AM, Gerhard Grimm wrote: Hello there, recently I

[CMake] Qt4 module too restrictive about uic requirement

2011-01-10 Thread Thomas Petazzoni
Hello, The FindQt4 module requires the uic executable to be present, otherwise it declares the Qt installation as invalid and bails out. However, Qt can be compiled without the GUI (which is interesting on embedded systems), and in this case, uic is not installed and not necessary. Therefore,

Re: [CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning regex not supported

2011-01-10 Thread Gerhard Grimm
Hello Bill, it's issue #11676. Best Regards, Gerhard -- Gerhard Grimm Software Engineering DETEC Software GmbH (Beta Systems Group) From: Bill Hoffman bill.hoff...@kitware.com To: cmake@cmake.org Date: 10.01.2011 18:12 Subject: Re: [CMake] CMake 2.8.3: find_package(Java) on HP-UX gives

Re: [CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning regex not supported

2011-01-10 Thread Gerhard Grimm
Hello David, even after a close look at issue #11183 I don't think that this is related to the problem I reported. Therefore I created issue #11676. Best regards, Gerhard -- Gerhard Grimm Software Engineering DETEC Software GmbH (Beta Systems Group) From: David Cole david.c...@kitware.com

Re: [CMake] Cross-compiling a static library (CMake 2.8.3)

2011-01-10 Thread Bjørn Forsman
Hi, (CCing the list.) 2011/1/10 Emmanuel Blot eblot...@gmail.com: When I cross compile I do set(CMAKE_C_COMPILER arm-linux-gcc) in a toolchain file and CMake automatically finds ranlib (and other toolchain utilities) using the prefix from the C compiler. How do you setup CMake for

[CMake] Fwd: Cross-compiling a static library (CMake 2.8.3)

2011-01-10 Thread Emmanuel Blot
Oops, I forgot to post to the ML -- Forwarded message -- From: Emmanuel Blot eblot...@gmail.com Date: 2011/1/10 Subject: Re: [CMake] Cross-compiling a static library (CMake 2.8.3) To: Bjørn Forsman bjorn.fors...@gmail.com I haven't used that one before. The docs say it should

Re: [CMake] Cross-compiling a static library (CMake 2.8.3)

2011-01-10 Thread Emmanuel Blot
The docs say that the signature is CMAKE_FORCE_C_COMPILER(compiler compiler-id) so maybe something bad happens when you give it that extra argument 4? Try without 4? Actually, it changes nothing. *but* if I remove the specific version number for the compiler, i.e. I define FIND_PROGRAM

Re: [CMake] CPack and configure_file

2011-01-10 Thread Eric Noulard
2011/1/10 Tobias Ellinghaus h...@gmx.de: Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make package_source these files are not included so that the

Re: [CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-10 Thread Eric Noulard
2011/1/10 marco atzeri marco.atz...@gmail.com: On Mon, Jan 10, 2011 at 3:43 PM, Emmanuel Blot  wrote: Hello All, [...] 1/ Is this a known issue / new regression?  I have not been subscribed to the ML for a while, and I can't find a decent way to search through the ML archives,

[CMake] fixup_bundle, shared libs and Plugins

2011-01-10 Thread Michael Jackson
CMake 2.8.3, OS X 10.6.6, Makefiles I am attempting to use fixup_bundle() to create my OS X app bundle. The issue I am running into is that under a certain case some common libraries that get built by the project are not being resolved correctly. Here goes the explanation: I have a project

Re: [CMake] fixup_bundle, shared libs and Plugins

2011-01-10 Thread Michael Jackson
And just to follow up a bit with something else, I added the following bit of cmake code for the 2 libraries MXADataModel and AIMLib: SET_TARGET_PROPERTIES(${targetName} PROPERTIES LINK_FLAGS -current_version ${${CMP_PROJECT_NAME}_VERSION} -compatibility_version

Re: [CMake] CPack and configure_file

2011-01-10 Thread Tobias Ellinghaus
Am Montag, 10. Januar 2011 schrub Eric Noulard: 2011/1/10 Tobias Ellinghaus h...@gmx.de: Hello, I create some files inside of CMAKE_CURRENT_BINARY_DIR using configure_file(). These are not installed but needed for compiling the program. When creating a .tgz file with make

Re: [CMake] add_subdirectory and link_directories

2011-01-10 Thread Michael Hertling
On 01/10/2011 06:24 PM, Andrea Galeazzi wrote: I've got a main project which relies on several sub-library projects, so the main CMakeLists.txt add_subdirectory(W:/Omega/Kernel ${CMAKE_CURRENT_BINARY_DIR}/myLib1) ... and then I also specify the directory where all libraries have

[Cmake-commits] CMake branch, next, updated. v2.8.3-1262-gee7fe88

2011-01-10 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 ee7fe8833452b8e91066880d437c76bfa60ed987 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-422-g6754b26

2011-01-10 Thread KWSys Robot
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 6754b26bf0bb69ad6d65249bf4122dbbda446922 (commit) from

[Cmake-commits] CMake branch, next, updated. v2.8.3-1266-gf5eb539

2011-01-10 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 f5eb539c639aaff2a78854c66641e6b3802828d4 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1270-gc436663

2011-01-10 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 c436663e4c64fc29aaf3837fd486f4f83f971036 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1274-g5477047

2011-01-10 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 5477047b201a92efa09c49b0afe9d65b754a0eb1 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1277-gef64b45

2011-01-10 Thread Marcus D . Hanwell
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 ef64b450fa34b95d31bb0110901362af31c2c765 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-423-gcaa45a5

2011-01-10 Thread KWSys Robot
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 caa45a5f817f3608c8f2b30b039925f4bafc0ea1 (commit) from