Re: [cmake-developers] find_package module-only policy

2012-02-28 Thread Brad King
On 2/27/2012 3:17 PM, Alexander Neundorf wrote: Anything left I should do before merging into next ? The documentation of find_package() may need some modifications, I thought you may want to have a look at that ? I reverted FindPackage_ImprovedErrorMessages from next and replaced it with

Re: [cmake-developers] [PATCH] CMakeFindPackageMode.cmake: fix 32/64bit detection if `file' is a symlink

2012-02-28 Thread David Cole
I understand the get_filename_component call here, but it does not really need to use CACHE does it? On Fri, Feb 24, 2012 at 10:37 AM, Brad King brad.k...@kitware.com wrote: On 2/23/2012 4:39 PM, Yury G. Kudryashov wrote: From: Yury G. Kudryashovurkud.ur...@gmail.com Applied, thanks:  

[cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Bill Hoffman
The nightly binary for CMake is not building because of a test failure: http://open.cdash.org/testDetails.php?test=136868750build=2046004 CMake Error at CMakeLists.txt:52 (message): Subversion_VERSION_SVN has unexpected content Call Stack (most recent call first): CMakeLists.txt:74

Re: [cmake-developers] [PATCH 2/2] Remove cmProperty.{h,cxx}

2012-02-28 Thread Yury G. Kudryashov
David Cole wrote: What's the motivation here? The motivation was to remove a class that has no useful methods. The only useful method was AppendProperty, and it can be easily implemented in cmPropertyMap. This will likely conflict (logically, at compile time) with the recently

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Eric Noulard
2012/2/28 Bill Hoffman bill.hoff...@kitware.com: The nightly binary for CMake is not building because of a test failure: http://open.cdash.org/testDetails.php?test=136868750build=2046004 CMake Error at CMakeLists.txt:52 (message):  Subversion_VERSION_SVN has unexpected content Call Stack

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Bill Hoffman
On 2/28/2012 1:14 PM, Eric Noulard wrote: 2012/2/28 Bill Hoffmanbill.hoff...@kitware.com: The nightly binary for CMake is not building because of a test failure: http://open.cdash.org/testDetails.php?test=136868750build=2046004 CMake Error at CMakeLists.txt:52 (message):

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread David Cole
On Tue, Feb 28, 2012 at 1:25 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 2/28/2012 1:14 PM, Eric Noulard wrote: 2012/2/28 Bill Hoffmanbill.hoff...@kitware.com: The nightly binary for CMake is not building because of a test failure:

Re: [cmake-developers] How to handle package Config.cmake files with dependencies ?

2012-02-28 Thread Alexander Neundorf
On Monday 27 February 2012, Brad King wrote: On 2/27/2012 3:37 PM, Michael Wild wrote: On 02/27/2012 09:15 PM, Alexander Neundorf wrote: When the FooConfig.cmake has been found, Foo_FOUND is set to TRUE: // Set a variable marking whether the package was found. std::string

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Bill Hoffman
On 2/28/2012 1:38 PM, David Cole wrote: Wait for Eike to reply here. He's been requiring version variables to be set if the package is found in this test. I'm sure he'll either patch this up so it works or exclude svn from the version variable test depending on how hard it is to detect this

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Brad King
On 2/28/2012 1:53 PM, Bill Hoffman wrote: No matter what find_package(foo) Can not cause an error at CMake time. That isn't the line causing the error. It's the AllFindModules test that wants to know that the returned version information is as expected. This is a real test failure because

Re: [cmake-developers] How to handle package Config.cmake files with dependencies ?

2012-02-28 Thread Brad King
On 2/28/2012 1:48 PM, Alexander Neundorf wrote: Do you think that needs a policy ? I'm not sure. It's pretty obscure. The code currently does: // Set a variable marking whether the package was found. std::string foundVar = this-Name; foundVar += _FOUND;

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Bill Hoffman
On 2/28/2012 1:57 PM, Brad King wrote: On 2/28/2012 1:53 PM, Bill Hoffman wrote: No matter what find_package(foo) Can not cause an error at CMake time. That isn't the line causing the error. It's the AllFindModules test that wants to know that the returned version information is as

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Brad King
On 2/28/2012 2:09 PM, Bill Hoffman wrote: On 2/28/2012 1:57 PM, Brad King wrote: On 2/28/2012 1:53 PM, Bill Hoffman wrote: That isn't the line causing the error. It's the AllFindModules test that wants to know that the returned version information is as expected. This is a real test failure

Re: [cmake-developers] find_package module-only policy

2012-02-28 Thread Brad King
On 2/28/2012 8:24 AM, Brad King wrote: I replaced the FindPackage_ModeWarning topic on the stage with a [snip] However, I'm not yet prepared to merge this to next. I'm going to make more significant edits to the proposed changes and post them as a separate topic and then report back here. I

[cmake-developers] Two pull requests

2012-02-28 Thread Yury G. Kudryashov
Hi! I've published two branches on gitorious. First, I run spellcheck on some source files. git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git ready/fix-typos Next, I fixed some doxygen formatting. git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git ready/apidocs- fixes The last

Re: [cmake-developers] Two pull requests

2012-02-28 Thread Brad King
On 2/28/2012 2:46 PM, Yury G. Kudryashov wrote: I've published two branches on gitorious. Thanks for your work! First, I run spellcheck on some source files. git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git ready/fix-typos Please combine those commits and write a single commit

Re: [cmake-developers] find_package module-only policy

2012-02-28 Thread Alexander Neundorf
On Tuesday 28 February 2012, Brad King wrote: On 2/28/2012 8:24 AM, Brad King wrote: I replaced the FindPackage_ModeWarning topic on the stage with a [snip] However, I'm not yet prepared to merge this to next. I'm going to make more significant edits to the proposed changes and post

Re: [cmake-developers] Nightly Binary not building on windows

2012-02-28 Thread Rolf Eike Beer
Am Dienstag, 28. Februar 2012, 14:20:27 schrieb Brad King: On 2/28/2012 2:09 PM, Bill Hoffman wrote: On 2/28/2012 1:57 PM, Brad King wrote: On 2/28/2012 1:53 PM, Bill Hoffman wrote: That isn't the line causing the error. It's the AllFindModules test that wants to know that the returned

Re: [cmake-developers] Two pull requests

2012-02-28 Thread Yury G. Kudryashov
Brad King wrote: On 2/28/2012 2:46 PM, Yury G. Kudryashov wrote: git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git ready/fix-typos Please combine those commits and write a single commit message that briefly explains the tools you ran to find the errors. I've also renamed branch.

Re: [cmake-developers] [PATCH 1/2] cmPropertyDefinition::IsChained is const

2012-02-28 Thread Yury G. Kudryashov
Brad King wrote: On 2/25/2012 3:19 AM, Yury G. Kudryashov wrote: Yury G. Kudryashov wrote: From: Yury G. Kudryashov urkud.ur...@gmail.com Mailman says that the next patch is too big. The compressed version is attached. While building I get: This branch compiles with -Werror here: git

Re: [cmake-developers] Two pull requests

2012-02-28 Thread Brad King
On 2/28/2012 4:02 PM, Yury G. Kudryashov wrote: git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git run-vim-spellcheck git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git doxygen-fixes Thanks. I'll look at those topics when I get a chance. We accept any form of patch that

Re: [cmake-developers] [PATCH 1/2] cmPropertyDefinition::IsChained is const

2012-02-28 Thread Brad King
On Tue, Feb 28, 2012 at 4:07 PM, Yury G. Kudryashov urkud.ur...@gmail.com wrote: This branch compiles with -Werror here: git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git add-const- qualifiers I still get warnings like: Source/cmCommand.h:99:16: warning: ‘virtual bool

[cmake-developers] [CMake 0013003]: Precompiled CPack update needed for compatibility with Xcode 4.3

2012-02-28 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13003 == Reported By:Dave Whipp Assigned To:

[CMake] figuring out exact name of boost-regex lib to use

2012-02-28 Thread Bart Vandewoestyne
Hello list, I'm quite new to CMake, still learning my way around... I currently have the following in a CMakeList.txt file: set(BOOST_LIBNAME boost_regex) #set(BOOST_LIBNAME boost_regex-mt) target_link_libraries(airspace ${BOOST_LIBNAME}) On some platforms, it only works if I set the

Re: [CMake] figuring out exact name of boost-regex lib to use

2012-02-28 Thread Michael Wild
On 02/28/2012 10:00 AM, Bart Vandewoestyne wrote: Hello list, I'm quite new to CMake, still learning my way around... I currently have the following in a CMakeList.txt file: set(BOOST_LIBNAME boost_regex) #set(BOOST_LIBNAME boost_regex-mt) target_link_libraries(airspace

Re: [CMake] figuring out exact name of boost-regex lib to use

2012-02-28 Thread Michael Wild
Hi Bart Please keep answers on the list, so others can also profit from the discussion. On 02/28/2012 01:59 PM, Bart Vandewoestyne wrote: On 02/28/2012 10:28 AM, Michael Wild wrote: Don't do it this way. Use this: find_package(Boost REQUIRED COMPONENTS regex)

Re: [CMake] smarter shortcuts with NSIS

2012-02-28 Thread Andrea Crotti
Alright moving the include after did the trick, I get my code in the final nsi file, as below: set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS PageEx directory DirVar PythonDir PageExEnd CreateShortCut \\\$DESKTOP${PROJECT_NAME}.lnk\\\ \\\$INSTDIRbuilt_eggrun.exe\\\

Re: [CMake] smarter shortcuts with NSIS

2012-02-28 Thread Eric Noulard
2012/2/28 Andrea Crotti andrea.crott...@gmail.com: Alright moving the include after did the trick, I get my code in the final nsi file, as below: set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS    PageEx directory      DirVar PythonDir    PageExEnd    CreateShortCut

Re: [CMake] smarter shortcuts with NSIS

2012-02-28 Thread Andrea Crotti
On 02/28/2012 03:42 PM, Eric Noulard wrote: At worst is there a way to just create my own .nsi file and use it directly? I need to create a page which simply asks for a directory to the user, and then use that to create a shortcut.. Any idea (also other solutions might be fine). 1) Copy the

[CMake] #include and fortran dependencies

2012-02-28 Thread Dirk vanMeeuwen
Dear all, I am quite new to cmake and just started to setup cmake for a large project, consisting of mainly fortran code. We use the Intel compiler, version 12, for windows. This compiler supports the following code: #include fpp-Windows-definition.inc MODULE MSG ... END MODULE However, when

[CMake] Debug vs. Release Build Types and Configurations

2012-02-28 Thread Carlton Henderson
For a couple days now, I've been looking high and low at documentation about single-config CMAKE_BUILD_TYPE (e.g. Makefile) and multi-config CMAKE_CONFIGURATION_TYPES but I still have some questions.It seems that those variables are mutually exclusive, (depending on whether you're using single- or

Re: [CMake] Code and API review request for Qt5 CMake files

2012-02-28 Thread Alexander Neundorf
...will reply later in detail. Could you please go through the existing find-modules shipped with cmake which support COMPONENTS and make a summary of how they handle them ? At least FindQt4.cmake be default searches all components. Thanks Alex -- Powered by www.kitware.com Visit other

Re: [CMake] Cpack Nsis not installing libraries

2012-02-28 Thread Mauricio Klein
Hello Mr.Noulard! Sorry for the late in reply. I had a 'miss configured' filter in my e-mail dropping all mails. 1) Thanks for the explanation! I will take a look at the BundleUtilities, once this is exactly what i need: a autonomous application. 2) I'm using CMake version '2.8.7'. In Linux, i

Re: [CMake] Can't generate Release build in Visual Studio 9

2012-02-28 Thread Mauricio Klein
Hello everybody! Sorry for the late in reply. I had a 'miss configured' filter dropping all my mails. Thanks for all replies sent. All of them have great hints on how to solve this problem. But, after the Thielemans reply, i decided that the build type must be selected from inside the Visual

[CMake] Start Menu folders and CPACK_NSIS_MENU_LINKS

2012-02-28 Thread Kyle Shannon
I am trying to install two sub folders in my start menu links. I know that (I think) CPACK_NSIS_MENU_LINKS doesn't support creating folders. I tried using CPACK_NSIS_EXTRA_INSTALL, and that worked great, but my uninstaller won't remove anything created in that SET call. Here is my code:

Re: [CMake] Question regarding source tree structure and how to find libraries easily within that structure

2012-02-28 Thread m.hergarden
On 02/26/2012 09:18 AM, Andreas Guther wrote: Hello, I'm justing starting to learn/use CMake and I have a question regarding the usage of it in regards of source tree structure and library usage. I have the following folder structure: Root Bin Win32X86Debug

[Cmake-commits] CMake branch, next, updated. v2.8.7-2937-gd2d0ad7

2012-02-28 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 d2d0ad76cba19b0ad93eb9beadfd8857aeb0c871 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-2939-g6c1f286

2012-02-28 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 6c1f28618dc31610d4d3ebd06698a04074b15c98 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.7-456-g4fd4798

2012-02-28 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 4fd479816da0a0ff21c6634ea7c82ff27b321b85 (commit) from