Re: [cmake-developers] regarding cMake support on windows Itanium platforms

2010-12-21 Thread Bill Hoffman
On 12/21/2010 12:30 AM, ajay bansal wrote: Hi All, I want to create a Visual studio project (VS2008, c/c++) using this cMakeList.txt for i386, x64 Itanium platforms on windows. I found options for i386 x64 platforms in cmake GUI but there is nothing for Itanium platform. - Does cmake support

[cmake-developers] regarding cMake support on windows Itanium platforms

2010-12-21 Thread ajay bansal
Hi Bill, Thanks for providing the info. Since i need to create vcProj solution files as part of my build, Can i use NMake to achieve it ? Could you please suggest me any other alternative if possible. thanks, Ajay ___ cmake-developers mailing list

Re: [cmake-developers] regarding cMake support on windows Itanium platforms

2010-12-21 Thread Bill Hoffman
On 12/21/2010 11:38 AM, ajay bansal wrote: Hi Bill, Thanks for providing the info. Since i need to create vcProj solution files as part of my build, Can i use NMake to achieve it ? Could you please suggest me any other alternative if possible. You will have to modify the C++ code to get

[cmake-developers] [CMake 0011638]: ATL support

2010-12-21 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.paraview.org/Bug/view.php?id=11638 == Reported By:kenshin Assigned To:

Re: [CMake] Visual Studio project layout

2010-12-21 Thread Diablo 666
Search for property SOLUTION_FOLDER, introduced in 2.8.3. Thanks a lot, that was exactly what I was looking for! (It seems actually, that the property is called FOLDER now) ___ Powered by www.kitware.com

Re: [CMake] copy_resolved_item_into_bundle doesn't copy when I want it to

2010-12-21 Thread David Cole
copy_resolved_item_into_bundle only skips the copy if the file to be copied and the destination file refer to exactly the same file. In that sense, it already is a copy_if_different. On the Mac, after a bundle is created and fixed up for the first time, all the references from one library to

Re: [CMake] Possible 'brief' output options for UnixMakefileGenerator

2010-12-21 Thread David Cole
One more alternative worth considering here that is cross-platform and doesn't require a wrapper script. (Not sure if it quiets things down enough for you or not, but the latest change to this feature will quiet things a little bit more starting with the upcoming CMake 2.8.4.) See the

Re: [CMake] Possible 'brief' output options for UnixMakefileGenerator

2010-12-21 Thread Campbell Barton
The problem with with RULE_MESSAGES is that it is too close to make /dev/null. If a file is built there is no info about this. The main issue for me is partial rebuilds flood the console. eg, for blender, a build with no changes prints 83 lines like this... [ 1%] Built target

[CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
It would be good if FindQt4 looked for the various plugins that can be installed with Qt and gave the path to them (both release and debug versions) and searched using the various filenames that are possible. I'd suggest providing variables like: QT_SQLITE_PLUGIN_LIBRARY_RELEASE In addition, it

[CMake] CMAKE_SKIP_INSTALL_RULES doesn't work

2010-12-21 Thread Mike McQuaid
CMAKE_SKIP_INSTALL_RULES, referenced in the documentation for InstallRequiredSystemLibraries doesn't work as is documented. This is because it's not referenced in the module file at all. I think this is a typo and should have been renamed to CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP in either the

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Michael Jackson
On Dec 21, 2010, at 9:41 AM, Mike McQuaid wrote: It would be good if FindQt4 looked for the various plugins that can be installed with Qt and gave the path to them (both release and debug versions) and searched using the various filenames that are possible. I'd suggest providing variables

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
On 21 December 2010 15:01, Michael Jackson mike.jack...@bluequartz.net wrote: I'll vote for this one also. I have my own code that looks for the Qt Plugin DLLs and adds the variables but it is pretty ugly. Something the is built in would help big time. Check out/test my patch. It (fairly)

[CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Pere Mato Vila
Dear all, I am trying to build shared libraries on Windows exporting all symbols. This is as an alternative of instrumenting the code with dllimport/dllexport declarations. For this I do build first a static library from which I get all the defined symbols to write a .DEF file which is then

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Michael Jackson
You will want to read this article: http://www.cmake.org/Wiki/BuildingWinDLL ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton,

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Pere Mato Vila
Hi, I did read the article. The point is that I am trying to port a number of very large projects to CMake that have been always build without code instrumentation, which I am convinced is the best and optimal way of doing it. But in this case the code instrumentation is not practical for a

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
On 21 December 2010 16:41, Clinton Stimpson clin...@elemtech.com wrote: Would you prefer having a set of variables that point to the dlls, or would you rather have a function that takes a list of Qt modules and copies the necessary plugins for those Qt modules to a certain location? It seems

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Michael Jackson
On Dec 21, 2010, at 11:45 AM, Mike McQuaid wrote: On 21 December 2010 16:41, Clinton Stimpson clin...@elemtech.com wrote: Would you prefer having a set of variables that point to the dlls, or would you rather have a function that takes a list of Qt modules and copies the necessary

[CMake] Please Help - Find HDF5 module on windows isn't finding

2010-12-21 Thread Aaron R
I'm trying to setup a cmake project on windows which needs the HDF5 library. I put the prebuilt libraries under c:\hdf5-1.8.5-win32. I set HDF5_ROOT in the cmakelists file and then called find(HDF5). Its not finding it. I've tried specifying components as well and still nothing. I didn't

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
On 21 December 2010 16:54, Michael Jackson mike.jack...@bluequartz.net wrote: I would like to have variables to the DLLs also (actually ALL the DLLs, not just the plugins) because under certain use cases those are needed. Here is my use case. Setup: Windows 7 x64 with Qt 4.6.x built as BOTH

Re: [CMake] copy_resolved_item_into_bundle doesn't copy when I want it to

2010-12-21 Thread Ben Medina
That sounds fine. However, I have install rules located in multiple files; my project contains multiple apps, and each apps has its install rules in its own lists file. Where do I put my delete bundle install code to ensure that it runs before all other install commands? Thanks, Ben On Tue, Dec

Re: [CMake] copy_resolved_item_into_bundle doesn't copy when I want it to

2010-12-21 Thread David Cole
I would think immediately before the first install rule that installs the bundle itself or something into the bundle location (assuming you have such a thing). Otherwise, simply before whatever it is that initially creates the bundle on which you are calling fixup_bundle... On Tue, Dec 21, 2010

Re: [CMake] Please Help - Find HDF5 module on windows isn't finding

2010-12-21 Thread Tyler Roscoe
On Tue, Dec 21, 2010 at 10:04:25AM -0700, Aaron R wrote: I'm trying to setup a cmake project on windows which needs the HDF5 library. I put the prebuilt libraries under c:\hdf5-1.8.5-win32. I set HDF5_ROOT in the cmakelists file and then called find(HDF5). Its not finding it. I've tried

Re: [CMake] Please Help - Find HDF5 module on windows isn't finding

2010-12-21 Thread Aaron R
I had a 'duh-phiphany'. I realized the find module doesn't use HDF5_ROOT as a cache variable. Its expected to be an environment variable. I created a cache variable and used that with a set(ENV xxx) call and then did the find(HDF5) call. Works great. Thanks for the suggestions. They will

[CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread Crni Gorac
Am trying to employ fixup_bundle(), in order to be able to create installers for my Qt-dependent application on Mac and Windows. I have it working fine under Mac, but on Windows it is not working either with my application, or by example from CMake Wiki pages:

Re: [CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread Tyler Roscoe
On Tue, Dec 21, 2010 at 07:11:36PM +0100, Crni Gorac wrote: Am trying to employ fixup_bundle(), in order to be able to create installers for my Qt-dependent application on Mac and Windows. I have it working fine under Mac, but on Windows it is not working either with my application, or by

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Michael Hertling
On 12/21/2010 04:13 PM, Pere Mato Vila wrote: Dear all, I am trying to build shared libraries on Windows exporting all symbols. This is as an alternative of instrumenting the code with dllimport/dllexport declarations. For this I do build first a static library from which I get all the

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Bill Hoffman
On 12/21/2010 2:17 PM, Michael Hertling wrote: AFAIK, this is because CMake does not know how to handle a .def file for incorporation in the target, i.e. ${library}.def has no LANGUAGE Actually, it should... Something like this should work: (assumes you have a perl script to create a .def

Re: [CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread Crni Gorac
On Tue, Dec 21, 2010 at 7:50 PM, Tyler Roscoe ty...@cryptio.net wrote: On Tue, Dec 21, 2010 at 07:11:36PM +0100, Crni Gorac wrote: Am trying to employ fixup_bundle(), in order to be able to create installers for my Qt-dependent application on Mac and Windows.  I have it working fine under Mac,

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Michael Hertling
On 12/21/2010 08:45 PM, Bill Hoffman wrote: On 12/21/2010 2:17 PM, Michael Hertling wrote: AFAIK, this is because CMake does not know how to handle a .def file for incorporation in the target, i.e. ${library}.def has no LANGUAGE Actually, it should... Something like this should work:

Re: [CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread Crni Gorac
On Tue, Dec 21, 2010 at 10:27 PM, Crni Gorac cgo...@gmail.com wrote: [ ... ] Just an additional notice: I just discovered --verbose flag of CPack, and it could be that the reason for fixup_bundle() not being able to find dependencies is that I don't have dumpbin installed - namely, I've

[CMake] problem w/ find_package_ makefile does not always compile

2010-12-21 Thread ny
greetings! I spent enough time trying to make the software work, so I'd be happy to get some feedback:: I built research code written in (templated) c++, size is approximately ~15K lines. I am on a mac and do not use Cocoa(/xcode), straight from command line. Note that I choose to generate a

Re: [CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread Michael Jackson
Were you using cmake from a Visual Studio Command prompt or a normal command prompt. According to Microsoft you MUST run dumpbin.exe from a Visual Studio Command Prompt. It seems that dumpbin.exe is included all the way back to Visual Studio 2005. Hope that helps.

Re: [CMake] BundleUtilities example not working under Windows?

2010-12-21 Thread David Cole
On Tue, Dec 21, 2010 at 6:13 PM, Crni Gorac cgo...@gmail.com wrote: On Tue, Dec 21, 2010 at 10:27 PM, Crni Gorac cgo...@gmail.com wrote: [ ... ] Just an additional notice: I just discovered --verbose flag of CPack, and it could be that the reason for fixup_bundle() not being

[CMake] Make-ing specific target in a SWIG module

2010-12-21 Thread Bill Spotz
Hello, I have a CMake build system that includes a subdirectory that builds a python interface using SWIG. I would like to run make with a target specified such that the swig command is called but the resulting wrapper file is not compiled. The CMakeLists.txt file that controls this part of

[CMake] code::blocks project generated by cmake can not set arguments to main func

2010-12-21 Thread tfjiang
Hi,everyone. While using cmake to generate a code::blocks project, I met a problem. I can not send argument to int main(int argc,char *argv[]). I found some suggestions like that: add arguments in projects-send programs' argument. It works in my testing project which is directly generated by

[Cmake-commits] CMake branch, next, updated. v2.8.3-1039-g360c370

2010-12-21 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 360c370233c77dabb9f15b388a9504f337e58dd2 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-252-g4c88a86

2010-12-21 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 4c88a8622dd25bc3d630f2d35e3a4acca9a7a5a2 (commit) from

[Cmake-commits] CMake branch, next, updated. v2.8.3-1041-g2a0e6ce

2010-12-21 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 2a0e6ce626e05b91c15d17e6aaf796fb4912dc26 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-274-gd89514f

2010-12-21 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, master has been updated via d89514f190df4da72f211e760fbe794dec6349bf (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-278-gccc790f

2010-12-21 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, master has been updated via ccc790f1601469bf09193970759f5c09d8c18601 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-282-g1f40129

2010-12-21 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, master has been updated via 1f401294d4829ff5240b7123e7c2f7e98a2f7775 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-288-g5615ecf

2010-12-21 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, master has been updated via 5615ecf31189c97d79958a99a349a42aa249a853 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-296-gf94c4a3

2010-12-21 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, master has been updated via f94c4a35be0d9d19a4923849ce4910379f9748aa (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-302-g2031b6a

2010-12-21 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, master has been updated via 2031b6a9f309b6c8f7da0abe2d943ab9c0748758 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-307-gea38628

2010-12-21 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, master has been updated via ea38628366634189502b57c53d866bc436eb7c7f (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-325-gbc92c84

2010-12-21 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, master has been updated via bc92c842317ea89e0785ed221adf28aa54319232 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1069-g389ff60

2010-12-21 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 389ff60eea7a1683aadcc994b646be224b9b5ac3 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-332-g104cd4a

2010-12-21 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 104cd4acd8b104326e90267b20f91c9433e779b2 (commit) from