Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-30 Thread Glenn Coombs
http://public.kitware.com/Bug/view.php?id=6493
configuration dependent COMPILE_FLAGS for SET_TARGET_PROPERTIES

http://public.kitware.com/Bug/view.php?id=6269
Some CMake commands should support Debug/Release configurations

http://public.kitware.com/Bug/view.php?id=12124
Need per configuration version of target_link_libraries() or fix
IMPORTED_LOCATION to allow empty string

--
Glenn
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Wiki: version compatibility matrix - please add feedback

2011-07-30 Thread Johannes Zarl
Hi,

So I've started bringing the matrix up to date. Just to make sure I'm not 
reporting documentation-changes as real changes, please take a look at the 
following items and correct me where I'm wrong:

Changes from 2.8.3 to 2.8.4:


* get_cmake_property:
previously reported an error when property was not found, now only the result 
variable is set to NOTFOUND.

* get_test_property:
Parameters "VAR" and "property" swapped in docu - I guess this was a doc-bug 
in earlier versions.
Additionally, the same behaviour change as in get_cmake_property (didn't this 
change in all get_*_property commands?).

* try_compile, try_run:
Mention of CMAKE_TRY_COMPILE_CONFIGURATION is added to the doc for 
completeness? Or was it not available before?


Changes from 2.8.4 to 2.8.5:


* add_custom_command, add_custom_target:
Option WORKING_DIRECTORY did not alter behaviour w.r.t relative paths, just 
the doc was improved?

* find_package:
Is the support for setting a package-directory in 
HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\ (windows) or 
~/.cmake/packages/ (unix) new, or just not that well documented 
before?

* list:
I guess the scoping of the variables by list command is new?


Well, that's all for now. I'll keep asking here as new questions arise...

Cheers,
  Johannes
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] CMake QT4 toolbar icons disappear

2011-07-30 Thread Clinton Stimpson

On Jul 29, 2011, at 10:58 AM, James Sutherland wrote:

> I have the following in my CMakeLists.txt:
> 
>   install( DIRECTORY "${QT_PLUGINS_DIR}/imageformats"
> DESTINATION ${plugin_dest_dir}/plugins
> COMPONENT Runtime
> )
> 
> This results in the appropriate libraries (libqtiff.dylib included) being 
> installed in my app bundle at
>   Contents/MacOS/plugins/imageformats

Have a look here:
http://doc.qt.nokia.com/latest/deployment-mac.html
To see if the results you are getting agree.

A possible hint:
If the Contents/Resources/qt.conf file has Plugins=plugins, then that means you 
put plugins in
Contents/plugins, not Contents/MacOS/plugins.

Contents/MacOS/plugins will work if qt.conf has Plugins=MacOS/plugins.

Clint

> 
> Then I have this:
> 
>   install( CODE "
> file(GLOB_RECURSE QTPLUGINS
>   
> \"\${CMAKE_INSTALL_PREFIX}/${plugin_dest_dir}/plugins/imageformats/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")
> include(BundleUtilities)
> fixup_bundle( \"${APPS}\"
>   \"\${QTPLUGINS}\"
>   \"${DIRS}\")
> " COMPONENT Runtime
> )
> 
> Is it obvious what I am missing?
> I double checked that the QTPLUGINS variable above does, in fact, contain the 
> appropriate shared libraries.  But "fixup_bundle" is entirely mysterious to 
> me...
> 
> James
> 
> 
> 
> On Fri, Jul 29, 2011 at 10:14 AM, David Cole  wrote:
> Probably qtiff4 ...
> 
> You can see the available ones in your Qt build tree at "plugins/imageformats"
> 
> 
> On Fri, Jul 29, 2011 at 12:10 PM, James Sutherland
>  wrote:
> > The icons are all *.tif images.
> > Would that require a plugin?  Do you happen to know what one?
> > James
> >
> > On Thu, Jul 28, 2011 at 9:33 PM, clin...@elemtech.com 
> > wrote:
> >>
> >> Sounds like your icons are in a format supported by a plugin, and the
> >> installation has missing that plugin.
> >>
> >> Clint
> >>
> >> - Reply message -
> >> From: "James Sutherland" 
> >> Date: Thu, Jul 28, 2011 8:01 pm
> >> Subject: [CMake] CMake QT4 toolbar icons disappear
> >> To: "cmake" 
> >>
> >> I have a QT4 application that I am building via CMake.
> >> In the build directory where the "local" application is built, it works
> >> fine.
> >> In the install directory, that application is missing all toolbar icons
> >> when it runs (but is otherwise functional).
> >> Any ideas what could be causing this?  It must have something to do with
> >> the installation process I guess?
> >> FWIW, I followed the example code at the link
> >> on http://www.vtk.org/Wiki/BundleUtilitiesExample
> >> James
> >> ___
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Please keep messages on-topic and check the CMake FAQ at:
> >> http://www.cmake.org/Wiki/CMake_FAQ
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.cmake.org/mailman/listinfo/cmake
> >
> >
> > ___
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the CMake FAQ at:
> > http://www.cmake.org/Wiki/CMake_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.cmake.org/mailman/listinfo/cmake
> >
> 
> ___
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-30 Thread Rolf Eike Beer
Am Donnerstag, 28. Juli 2011, 18:49:17 schrieb David Cole:
> Hi all,
> 
> Replies requested. Short replies only. Read on. Just a short reply with bug
> numbers or links to the bugs is all we need here. Please move specific
> discussions into the bugs themselves or start a new thread to talk about
> it... Replies on this thread should just be a collector for bug numbers.

> (Many of those were specifically addressed because somebody brought it up in
> response to my similar email from just after 2.8.4... Don't be shy!)

Ok, then let's see what is still open on my whishlist for 2.8.4:

http://www.cmake.org/Bug/view.php?id=12054
  FindJava.cmake too noisy on second run

http://www.cmake.org/Bug/view.php?id=11333
  FindThreads incorrectly adds -pthread to linker options

http://www.cmake.org/Bug/view.php?id=7830
  Likely a dupe of the above

http://www.cmake.org/Bug/view.php?id=10476
  No program output if CTest aborts test with timeout

http://www.cmake.org/Bug/view.php?id=11792
  Improve handling of CTEST_SITE

http://www.cmake.org/Bug/view.php?id=10941
  Code comments for many commands are wrong (copy&paste)

http://www.cmake.org/Bug/view.php?id=8466
  Provide finer control than pass/fail for a test program

#1 and #2 already have patches.

Eike

signature.asc
Description: This is a digitally signed message part.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-07-30 Thread Niels Dekker - address until 2014
http://public.kitware.com/Bug/view.php?id=12323 ("FindDCMTK cannot find 
all includes for MSVC build of DCMTK", by Dan Thill) See also my note:

http://public.kitware.com/Bug/bug_relationship_graph.php?bug_id=12323#bugnotes

Kind regards, Niels
--
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake