[cmake-developers] unicode support

2012-08-11 Thread clinton
Is there any plan to have CMake support unicode? If so, how? Its quite broken on Windows because it uses all the ANSI apis. Having CMake support unicode would make it easier for me to test whether my applications support unicode. Thanks, Clint -- Powered by www.kitware.com Visit other Kitwa

Re: [cmake-developers] Review request: qt4-target-depends

2012-12-31 Thread clinton
.cmake. How about having one list? Clint - Original Message - > > Hi there (Alex/Clinton), > > I've added a branch to the stage to list public link depends of Qt modules. > Please review it before I merge it to next. > > Thanks, > > Steve. > >

Re: [cmake-developers] Review request: qt4-target-depends

2012-12-31 Thread clinton
imported targets in FindQt4.cmake, then end up with one place to specify public & private dependencies. Clint > > > Clint > > > > - Original Message - > >> > >> Hi there (Alex/Clinton), > >> > >> I've added a branch t

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread clinton
- Original Message - > On 03/15/2013 07:57 AM, Stephen Kelly wrote: > > Marcus D. Hanwell wrote: > > > >> On Mon, Mar 11, 2013 at 12:45 PM, Brad King > >> wrote: > >>> On 03/11/2013 12:34 PM, Clinton Stimpson wrote: > >>>> I

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-15 Thread clinton
- Original Message - > > > > I have a fix for it coming soon. > > Steve, you have your Qt5 in CMAKE_PREFIX_PATH, right? That's a way I > > found to reproduce this. > > Yes, that's right. > Ok. Then the fix is now in next. Clint -- Powered by www.kitware.com Visit other Kitware op

Re: [cmake-developers] Qt4Targets test failure

2013-04-05 Thread clinton
I don't care either way, but in practice, having both Debug and Release Qt on Windows is useful. Clint - Original Message - > Thanks -- so should I just build/install both here? > Or should I put some code into CMake’s test suite to detect when only one is > available and avoid the te

Re: [cmake-developers] Qt builds: module machine type 'x64' conflicts with target machine type 'X86'

2013-04-10 Thread clinton
- Original Message - > Eric Noulard wrote: > >> > >> I don't know anything about building on Windows, so that might indeed be > >> the problem. Can you confirm that it's not a misunderstanding? > >> > > > > In http://thread.gmane.org/gmane.comp.lib.qt.devel/10746 we can read: > > "3>

Re: [cmake-developers] CMAKE_SYSROOT vs CMAKE_OSX_SYSROOT

2013-07-11 Thread clinton
? Should the > > new CMAKE_SYSROOT related variables be renamed to clarify difference? > > Clinton, can you comment on this? > > They do appear to be very similar. Both are about the toolchain's > system headers/libs and platform SDK location. > I don't really know

Re: [cmake-developers] Deprecating qt4_use_modules and qt4_automoc?

2013-07-11 Thread clinton
- Original Message - > Stephen Kelly writes: > > We could also probably add a runtime warning if enabled. You need to enable > > deprecation warnings with your compiler, so it would make sense to have to > > enable them with a cmake script too. CMAKE_ENABLE_DEPRECATION_WARNINGS > > could

[cmake-developers] ninja support

2013-07-16 Thread clinton
Is there someone that can offer some ninja support? There is a regression from a while back exposed by a commit of mine yesterday. http://open.cdash.org/testDetails.php?test=199232514&build=2967911 With the framework refactor work, the soname for frameworks were fixed. As a result, code in the

Re: [cmake-developers] ninja support

2013-07-16 Thread clinton
- Original Message - > Is there someone that can offer some ninja support? There is a regression > from a while back exposed by a commit of mine yesterday. > http://open.cdash.org/testDetails.php?test=199232514&build=2967911 > With the framework refactor work, the soname for frameworks we

Re: [cmake-developers] [CMake 0014274]: QtDialog Compiler Chooser Should Not Resolve Symlinks

2013-07-18 Thread clinton
- Original Message - > Clinton, > > On 07/06/2013 07:09 AM, Mantis Bug Tracker wrote: > > http://www.cmake.org/Bug/view.php?id=14274 > > The "qtdialog-symlinks" topic on the stage appears to be meant for this > but has not been merged to 'next&

Re: [cmake-developers] rpath-on-mac topic

2013-07-18 Thread clinton
- Original Message - > Clinton, > > On 07/17/2013 01:07 AM, Clinton Stimpson wrote: > > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=90993b9016abf241cd0a4de71e76eb738202c136 > > commit 90993b9016abf241cd0a4de71e76eb738202c136 > > Author: Clinton St

Re: [cmake-developers] CMAKE_SYSROOT vs CMAKE_OSX_SYSROOT

2013-07-18 Thread clinton
- Original Message - > On 07/11/2013 10:41 AM, clin...@elemtech.com wrote: > > They also appear similar to me, so I would start with the > > assumption that they should be unified. > > I just dug into this a bit. > > One difference is that CMAKE_OSX_SYSROOT can be set to a logical > SDK n

Re: [cmake-developers] compile-defs-debugging and framework-interface-includes

2013-07-22 Thread clinton
- Original Message - > > Hi there, > > compile-defs-debugging is failing with some Visual Studio generators. I > don't have those ides to figure out what is going wrong. My reading of the > Preprocessor test indicates that if my new test fails, that one should too, > so I don't understand

Re: [cmake-developers] [CMake] CMake 2.8.12-rc2 Released

2013-09-17 Thread clinton
Same here... and this looks like a regression: A simple CMakeLists.txt like this can reproduce it. set(CMAKE_BUILD_TYPE Debug) find_package(HDF5 COMPONENTS C HL REQUIRED) add_executable(foo foo.cpp) target_link_libraries(foo ${HDF5_LIBRARIES}) FindHDF5.cmake misuses CMAKE_BUILD_TYPE and CMAKE_CO

[cmake-developers] CMake unicode support

2013-10-10 Thread clinton
Hi All, I've started some work towards supporting Unicode in CMake so I could get better support for building/testing our internationalized applications. https://github.com/clintonstimpson/CMake/commit/f08ca2ff65f434b2bc404000765a836880f78f0e It keeps char* / std::string throughout the code

Re: [cmake-developers] Cross compiling toolchain variables

2013-11-09 Thread clinton
- Original Message - > On 10/30/2013 05:27 PM, Stephen Kelly wrote: > > Brad King wrote: > > I want to make sure that downstream uses the same GL headers and libraries > > as the ones used to build Qt itself. The PATHS is populated with > > information > > from qmake, and I wanted to prev

Re: [cmake-developers] Possible issue with UseQt4.cmake

2013-12-10 Thread clinton
- Original Message - > I noticed today that the UseQt4 module appends a lot of different data > to the COMPILE_DEFINITIONS property via add_definitions but appends > only one item to various COMPILE_DEFINITIONS_ properties. > > Is this a bug in the UseQt4 module? I don't think that is a

Re: [cmake-developers] Cmake configure unicode?

2013-12-25 Thread clinton
If you want cmake to support unicode with configure_file right now, use utf-8, not utf-16. I just tried with a utf-8 file with various non-ascii characters on Windows and configure_file() works for me. >From your use of "cmd /U", it appears you are attempting to do utf-16 (which >is what Micro

[cmake-developers] sporadic build failures with ninja

2014-05-20 Thread clinton
I'm seeing some build problems show up on cdash from some of my builds that use ninja. The error that shows up on cdash is: ninja: error: GetFileAttributesEx(c:\Program Files (x86)\Mcl : Command line warning D9025 : overriding ): The filename, directory name, or volume label syntax is incorre

Re: [cmake-developers] [ANNOUNCE] CMake 3.0.0 Released.

2014-06-11 Thread clinton
- Original Message - > On 11.06.2014 10:52, Kornel Benko wrote: > > Am Dienstag, 10. Juni 2014 um 17:14:31, schrieb Robert Maynard > > > >> On behalf of myself, Ken, Bill, Brad, David, Alex, Eike, Steve, Zach, Ben, > >> Peter, Nils, and the rest of the CMake team from all around the worl

Re: [cmake-developers] Should try_run have a timeout value? [demo CMakeLists.txt in body of email]

2014-06-12 Thread clinton
Would you also be satisfied if the crash dialog was disabled in the try_run()? That is done for ctest by cmCTest::BlockTestErrorDiagnostics(). Clint - Original Message - > # > # CMakeLists.txt > # > # PROBLEM: > # > # This file demonstrates a problem with CMake 3.0 and Visual Studio > #

Re: [cmake-developers] [PATCH 3/6] Resolve & replace @rpath placeholders

2014-09-05 Thread clinton
I think it would be nice to move get_item_rpaths() from BundleUtilities.cmake to gp_item_get_rpaths() in GetPrerequisites.cmake. And how does your patch or patch set handle @loader_path being used in the rpath? Also, I think the function signature should include the rpath vs runpath distinctio

Re: [cmake-developers] Support of codesign

2014-09-26 Thread clinton
I would suggest the SignPackage function be moved from cmCPackDragNDropGenerator to cmCPackBundleGenerator because its implementation is only usable by cmCPackBundleGenerator. It uses CPACK_BUNDLE_NAME which is only valid in the context of cmCPackBundleGenerator. Clint - Original Message

Re: [cmake-developers] Support of codesign

2014-09-29 Thread clinton
- Original Message - > > It should not be an error for 'codesign' to not be available > > > in the PATH. The user may have set CPACK_COMMAND_CODESIGN > > > to some other location. The error should only occur if no > > > value for CPACK_COMMAND_CODESIGN is available when the tool > > >

Re: [cmake-developers] fix-OSX-bundle-rpaths-and-Qt5 topic

2014-10-06 Thread clinton
-time here: > > OS X: Add RPATH support for Mac. > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=94e7fef2 > > so I think this problem existed before but was not exposed by tests. > > Clinton, what do you think of changing the Darwin.cmake test for > enabling @rpath s

Re: [cmake-developers] fix-OSX-bundle-rpaths-and-Qt5 topic

2014-10-06 Thread clinton
e could > still be people just building for their own host as the only computer > they have. The fact that our dashboard reported this problem means > we are testing that case. > > Clinton, I don't have a 10.5 machine anymore and the test is failing > on yours. Please take

Re: [cmake-developers] fix-OSX-bundle-rpaths-and-Qt5 topic

2014-10-08 Thread clinton
t; > > Perhaps no one has to build that way for deployment but there could > > still be people just building for their own host as the only computer > > they have. The fact that our dashboard reported this problem means > > we are testing that case. > > > > Clinto

Re: [cmake-developers] fix-OSX-bundle-rpaths-and-Qt5 topic

2014-10-09 Thread clinton
- Original Message - > On 10/08/2014 11:05 AM, clin...@elemtech.com wrote: > > I pushed more fixes for this. Instead of requiring 10.6, > > I took the other path of warning when rpaths need changed > > at install time and skip it. > > This should also fix the CMP0042 test which started f

Re: [cmake-developers] fix-OSX-bundle-rpaths-and-Qt5 topic

2014-10-09 Thread clinton
- Original Message - > Adam, > > On 10/08/2014 12:17 PM, Clinton Stimpson wrote: > > Yeah. I'm curious if changes to BundleUtilities.cmake in fix-OSX-bundle- > > rpaths-and-Qt5 will gracefully handle the BundleUtilities test case with > > @rpath on OS

Re: [cmake-developers] CMake 3.1 regression with incremental builds ?

2014-11-06 Thread clinton
I've put in a fix for this. 580b668d genex: Preserve order while evaluating TARGET_OBJECTS Can we put this in RC 2? Clint - Original Message - > > Using the netcdf project > ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.3.2.tar.gz > > I see a problem with incremental builds doing a re

Re: [cmake-developers] New RelWithDebInfo flags?

2014-11-22 Thread clinton
- Original Message - > Hi, > > I just discovered today that it looks like GCC 4.8 shipped with a new > optimization level: > >-Og Optimize debugging experience. -Og enables optimizations that do >not interfere with debugging. It should be the optimization level >of ch

Re: [cmake-developers] [PATCH] Improve encoding handling on Windows

2016-07-01 Thread clinton
- On Jul 1, 2016, at 8:41 AM, Mike Gelfand mike...@mikedld.com wrote: > On 07/01/2016 05:12 PM, Ben Boeckel wrote: >> On Fri, Jul 01, 2016 at 16:44:32 +0300, Dāvis Mosāns wrote: >>> 2. change GetEnv to return std::unique_ptr which will be >>> automatically deleted once out of scope and we

Re: [cmake-developers] [PATCH] Improve encoding handling on Windows

2016-07-01 Thread clinton
- On Jun 30, 2016, at 8:18 PM, Dāvis Mosāns davis...@gmail.com wrote: > On Windows getenv uses ANSI codepage so it needs to be encoded to > internally used encoding (eg. UTF-8). Here we use _wgetenv instead > and encode that. > > Also typically Windows applications (eg. MSVC compiler) use c

Re: [cmake-developers] [PATCH v3 5/7] For consoles output on Windows use our own std::streambuf

2016-07-06 Thread clinton
From what I remember, WriteConsoleW doesn't support redirection to a file or pipe.  I don't see an alternative in the patch for the case where stdout is not attached to the console. Clint -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.o

[cmake-developers] possible fix to include in release

2016-09-22 Thread clinton
Hi, If there is a CMake 3.6.3, I'd like to request the inclusion of https://cmake.org/gitweb?p=cmake.git;a=commit;h=48624b3c Some Linux distros are now shipping cmake-gui on top of Qt5, and the reported QFileDialog problem is present. See also http://public.kitware.com/pipermail/cmake/2016-S

Re: [cmake-developers] CPackProductbuild Scripts

2016-12-12 Thread clinton
- On Dec 12, 2016, at 9:51 AM, Harry Mallon ha...@codexdigital.com wrote: > Hello, > > I am messing around with the CPackProductbuild stuff to try to port over what > we > had before. Currently it support undocumented options > "CPACK_PREFLIGHT_SCRIPT", "CPACK_POSTFLIGHT_SCRIPT", > "CPACK_

[cmake-developers] CMP0071

2017-09-26 Thread clinton
I updated and I'm getting this: CMake Warning (dev) in claro/navigation5/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Re: [cmake-developers] CMP0071

2017-09-26 Thread clinton
- On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote: >> I updated and I'm getting this: >> >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt: >> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. >> Run "cmake --help-policy CMP0071" f

Re: [cmake-developers] CMP0071

2017-09-26 Thread clinton
- On Sep 26, 2017, at 9:31 AM, Sebastian Holtermann sebl...@xwmw.org wrote: > On Dienstag, 26. September 2017 09:25:36 CEST clin...@elemtech.com wrote: >> - On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org > wrote: >> >> I updated and I'm getting this: >> >> >> >> CMake

Re: [cmake-developers] CMP0071

2017-10-04 Thread clinton
- On Sep 26, 2017, at 9:07 AM, Sebastian Holtermann sebl...@xwmw.org wrote: >> I updated and I'm getting this: >> >> CMake Warning (dev) in claro/navigation5/CMakeLists.txt: >> Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. >> Run "cmake --help-policy CMP0071" fo

Re: [cmake-developers] kwsysProcess threadsafety

2018-01-05 Thread clinton
Cool. I'd like to have parallel automoc and uic. How about this 4th option? Don't use threads. A single thread is able to spawn multiple processes, and wait on multiple processes, and react when 1 or more processes change state. I'm probably not familiar enough with kwsysProcess to know if th

Re: [cmake-developers] CPack/NSIS is broken after extended length paths fix

2015-09-18 Thread clinton
- On Sep 18, 2015, at 6:07 AM, Dmitry Kochkin wrote: > Hi Clinton, > I was looking into an issue that we have in CMake on Windows with extended > paths > and later on realized that you've fixed it. > However I've realized that you fixed it only in cmSystem

Re: [cmake-developers] [Apple/iOS/OS X] Create subdirectories in Resource directory for Frameworks and Application bundle.

2015-12-11 Thread clinton
- On Dec 11, 2015, at 7:36 AM, Brad King brad.k...@kitware.com wrote: > On 12/10/2015 09:52 AM, Bartosz Kosiorek wrote: >> How it is officialy supported to tell CMake to create subdirectories >> inside "Resources" directory? > > I'm not particularly familiar with this infrastructure myself,

Re: [cmake-developers] Create subdirectories in Resource directory for Frameworks and Application bundle.

2015-12-11 Thread clinton
. > What do you think about that? > Do you think the same should be applied to "Headers"? I think the abstraction seems reasonable, as well as what you are proposing. However, I'm not an Apple guru. I wonder if there are other Apple experts that can weigh in this if better f

Re: [cmake-developers] fixup_bundle with @loader_path

2016-01-14 Thread clinton
- On Jan 14, 2016, at 6:48 AM, Brad King brad.k...@kitware.com wrote: > On 01/13/2016 01:38 AM, Simon Wells wrote: >> it kept saying that @loader_path/libboost_chrono-mt.dylib was not found > > It looks like this was now reported here with a patch: > > https://cmake.org/Bug/view.php?id=1591

Re: [cmake-developers] CMake 3.5.2 conflates OSX SDK version with target deployment

2016-05-25 Thread clinton
- On May 25, 2016, at 12:38 PM, Brad King brad.k...@kitware.com wrote: > On 05/25/2016 02:31 PM, Sean McBride wrote: >> CMake should probably default to the newest SDK (which is what Xcode does). >> I don't see a reason to default to an SDK "matching" the deployment target, >> in fact it's p

Re: [cmake-developers] Productbuild CPack generator

2016-06-02 Thread clinton
Hi Harry, I have submitted a productbuild generator this morning. https://cmake.org/gitweb?p=cmake.git;a=commit;h=b746bd5c Its capabilities should be about equal to the PackageMaker generator. The code for distribution.xml is shared between PackageMaker and productbuild. The preflight/postfl

Re: [cmake-developers] Productbuild CPack generator

2016-06-06 Thread clinton
On Jun 6, 2016 7:28 AM, Brad King wrote: > > On 06/02/2016 12:03 PM, clin...@elemtech.com wrote: > > I have submitted a productbuild generator this morning. > > Clinton, I see you followed up with some fixups to the topic and have > now squashed it down.  I've exten

Re: [cmake-developers] Questions about coding conventions

2016-06-14 Thread clinton
- On Jun 14, 2016, at 8:09 AM, Daniel Pfeifer dan...@pfeifer-mail.de wrote: > On Tue, Jun 14, 2016 at 3:14 PM, Brad King wrote: >> On 06/13/2016 10:16 AM, Brad King wrote: Can't `std::ifstream` and `std::ofstream` be used directly? It seams that kwsys does some workarounds >>> >>>

Re: [cmake-developers] odd build error

2011-10-20 Thread Clinton Stimpson
7; - yes -- Checking if istream supports long long -- Checking if istream supports long long - yes -- Checking if ostream supports long long -- Checking if ostream supports long long - yes It looks more like a sporadic stabilty problem to me. Also, the bug report mentioned that VS 2010 Express w

Re: [cmake-developers] NSIS auto-uninstall old before installing new

2011-11-14 Thread Clinton Stimpson
The patch reads the registry using CPACK_PACKAGE_NAME. Please fix that to use CPACK_PACKAGE_INSTALL_REGISTRY_KEY instead. Clint On Nov 12, 2011, at 1:01 PM, David Cole wrote: > The patch looks reasonable. > > Question about it: > > Does it prompt the user with a question if you use the "/S" s

[cmake-developers] rpaths on Mac

2011-11-17 Thread Clinton Stimpson
s added to Platforms/Darwin.cmake? set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") Would that have undesirable side effects? One possibility is adding -rpath link flags to those who currently don't have/want

Re: [cmake-developers] rpaths on Mac

2011-11-17 Thread Clinton Stimpson
On Thursday, November 17, 2011 02:03:15 pm Brad King wrote: > On 11/17/2011 11:49 AM, Clinton Stimpson wrote: > > I'm experimenting with using @rpath instead of @executable_path and > > @loader_path, because @rpath is useful in some situations where the > > others don&#x

Re: [cmake-developers] rpaths on Mac

2011-11-18 Thread Clinton Stimpson
On Friday, November 18, 2011 04:59:36 am David Cole wrote: > On Thu, Nov 17, 2011 at 5:26 PM, Clinton Stimpson wrote: > > On Thursday, November 17, 2011 02:03:15 pm Brad King wrote: > >> On 11/17/2011 11:49 AM, Clinton Stimpson wrote: > >> > I'm experim

Re: [cmake-developers] rpaths on Mac

2011-11-21 Thread Clinton Stimpson
ame} PROPERTIES INSTALL_RPATH "@executable_path") which is similar to Linux's set_target_properties(${target_name} PROPERTIES INSTALL_RPATH "\$ORIGIN") BUILD_WITH_INSTALL_RPATH will then become optional. Then perhaps we can make INSTALL_NAME_DIR=@rpath be the defaul

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Clinton Stimpson
list. > > Ok, I'll see about these modifications later or tomorrow. > > > Is there a reason to provide > > > >set(Qt5Core_HEADER_DIR "${_qt5_install_prefix}/include" ) > > > > at all? > > I provide that because FindQt4.cmake provid

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-30 Thread Clinton Stimpson
27;t mind providing it for convenience. However more variables means > > more variables. Users may not know which one to use when. I don't have > > a strong opinion either way. > > Ok, my opinion is to provide one variable in plural form for now. If there > is a reaso

Re: [cmake-developers] [PATCH] QtDialog: Set Ctrl+Q as the shortcut for quitting the program.

2011-12-15 Thread Clinton Stimpson
se())); Can you instead make that + this->ExitAction->setShortcut(QKeySequence::Quit); Do you want to redo the patch, or shall we just make the change to use Quit? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered b

Re: [cmake-developers] [PATCH] QtDialog: Set Ctrl+Q as the shortcut for quitting the program.

2011-12-15 Thread Clinton Stimpson
On Thursday, December 15, 2011 08:20:14 am Raphael Kubo da Costa wrote: > Clinton Stimpson writes: > > On Tuesday, December 13, 2011 04:51:16 pm Raphael Kubo da Costa wrote: > >> QKeySequence::Quit does not work on all platforms, and since it > >> translates to Ctrl+

Re: [cmake-developers] [PATCH] QtDialog: Set Ctrl+Q as the shortcut for quitting the program.

2011-12-15 Thread Clinton Stimpson
On Thursday, December 15, 2011 08:33:40 am Raphael Kubo da Costa wrote: > Clinton Stimpson writes: > > On Thursday, December 15, 2011 08:20:14 am Raphael Kubo da Costa wrote: > >> As I mentioned in the commit message, QKeySequence::Quit will not work > >> on all platfo

Re: [cmake-developers] QtAutomoc dashboard failure?

2011-12-19 Thread Clinton Stimpson
On Monday, December 19, 2011 02:28:37 pm Alexander Neundorf wrote: > On Monday 19 December 2011, Clinton Stimpson wrote: > > On Monday, December 19, 2011 01:59:37 pm Alexander Neundorf wrote: > > > On Monday 19 December 2011, David Cole wrote: > > > > Alex, > >

Re: [cmake-developers] QtAutomoc dashboard failure?

2011-12-19 Thread Clinton Stimpson
c", but does not contain a > Q_OBJECT macro. Running moc on > "C:/Users/cjstimp/cmake_nightly/cmake/Tests/QtAutomoc/codeeditor.h" ! > Better include "moc_codeeditor.cpp" for a robust build." > > This is what it should say, and this means that the includ

[cmake-developers] multiconfig cpack

2012-01-25 Thread Clinton Stimpson
build tree, which is the typical use case. Thanks. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep mes

Re: [cmake-developers] multiconfig cpack

2012-01-25 Thread Clinton Stimpson
On Jan 25, 2012, at 3:54 PM, Clinton Stimpson wrote: > > Being able to package both a debug and release build into one package using > cpack has come up on the mailing list a couple times. It seems the only > workable solution is to have two makefile builds with a single cpack co

Re: [cmake-developers] Build faild on Darwin? Don't know why?

2012-02-20 Thread Clinton Stimpson
On Feb 20, 2012, at 8:21 AM, David Cole wrote: > On Mon, Feb 20, 2012 at 9:25 AM, Brad King wrote: > On 2/18/2012 5:47 PM, Eric Noulard wrote: > My recent commit on CPack-dynamicDocSection > http://cmake.org/gitweb?p=cmake.git;a=shortlog;h=e175af3e74006e6f3a4fdaead20522b29034c45b > > may have b

Re: [cmake-developers] Convention driven CMAKE_USE_PACKAGE macro

2012-02-24 Thread Clinton Stimpson
best place for it. > > I would like the KDE frameworks use a similar macro too. > What about a more generic approach like the following? add_library(foo IMPORTED ...) set_target_properties(foo PROPERTIES DEPENDENT_COMPILE_DEFINITIONS "FOO_DEFINE" DEPENDENT_I

Re: [cmake-developers] Convention driven CMAKE_USE_PACKAGE macro

2012-02-24 Thread Clinton Stimpson
On Feb 24, 2012, at 12:00 PM, Brad King wrote: > On 2/24/2012 1:56 PM, Clinton Stimpson wrote: >> What about a more generic approach like the following? >> >> add_library(foo IMPORTED ...) >> set_target_properties(foo PROPERTIES >> DEPENDEN

Re: [cmake-developers] Usage of Qt4 for Tests

2012-02-29 Thread Clinton Stimpson
${CMake_SOURCE_DIR}/Tests/QtAutomoc" > > Opinions? > The Qt4Deploy test can have its QtGui dependency easily removed. I can take care of that one. The part of your patch for QtAutomoc looks good. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, L

Re: [cmake-developers] Making GUI applications by default

2012-03-05 Thread Clinton Stimpson
On Mar 4, 2012, at 3:29 PM, Stephen Kelly wrote: > Stephen Kelly writes: > >> >> Brad King wrote: >> >>> The implementation is not what I had in mind when I said "implies" >>> the platform-specific property. This should be its own property >>> that one can set/get normally with no special C+

Re: [cmake-developers] Target usage requirements and conventions

2012-05-03 Thread Clinton Stimpson
t them > >> early if possible > > > > When you say "package" here, do you mean package as in find_package(), or > > do you mean (typically) an imported target ? > > > > Alex > > I mean package. If we mean target here, then the new comm

Re: [cmake-developers] Target usage requirements and conventions

2012-05-03 Thread Clinton Stimpson
On Thursday, May 03, 2012 10:21:10 am Stephen Kelly wrote: > On 05/03/2012 06:19 PM, Ben Boeckel wrote: > > On Thu, May 03, 2012 at 09:35:44 -0600, Clinton Stimpson wrote: > >> The include, defines, etc... can be properties on a target when when > >> target_use_target(

Re: [cmake-developers] Regression when using multiple Qt installations (FindQt4.make)

2012-05-07 Thread Clinton Stimpson
h/to/custom/qt cmake .. 3. cmake .. -> modify CMakeCache.txt to use custom qmake then re-run cmake. I have no "/usr/include" in my CMakeCache.txt file. Can you expand the ${qt_headers} and tell me what you have? -- Clinton Stimpson Elemental Technologies, Inc Computational Simulat

Re: [cmake-developers] Regression when using multiple Qt installations (FindQt4.make)

2012-05-07 Thread Clinton Stimpson
On Monday, May 07, 2012 08:43:07 am Benoit Walter wrote: > On Monday 07 May 2012, Clinton Stimpson wrote: > > On Sunday, May 06, 2012 04:27:17 am Benoit Walter wrote: > > > Hi CMake developers, > > > > > > as I need to maintain different projects using diff

Re: [cmake-developers] Regression when using multiple Qt installations (FindQt4.make)

2012-05-07 Thread Clinton Stimpson
On Monday, May 07, 2012 09:14:55 am Benoit Walter wrote: > On Monday 07 May 2012, you wrote: > > On Monday, May 07, 2012 08:43:07 am Benoit Walter wrote: > > > On Monday 07 May 2012, Clinton Stimpson wrote: > > > > On Sunday, May 06, 2012 04:27:17 am Benoit Wa

Re: [cmake-developers] Improvements to Qt4 macros

2012-06-20 Thread Clinton Stimpson
On Jun 20, 2012, at 5:51 AM, Rolf Eike Beer wrote: > Hi, > > while wrestling with QtDBus today I found out the hard way (i.e. reading the > source) that QT4_ADD_DBUS_INTERFACE is much more powerful than its > documentation tells. To fix that the first patch now tells about the > properties yo

Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-05 Thread Clinton Stimpson
h does ? > > Alex It was probably removed because I thought add_custom_command() already added the needed dependency information. It should already have this: mocable.h -> moc_mocable.cpp -> moc_mocable.o or mocable.h -> mocable.moc -> mocable.cpp (includes mocable.moc) Why d

Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-05 Thread Clinton Stimpson
On Thursday, July 05, 2012 06:20:56 PM Alexander Neundorf wrote: > On Thursday, 5. July 2012 17:37:21 Clinton Stimpson wrote: > > On Friday, June 15, 2012 09:56:51 PM Alexander Neundorf wrote: > > > Hi, > > > > > > attached is a small patch which sets the

Re: [cmake-developers] After using CMake 2.8 VS produces QT Add-in error

2012-07-10 Thread Clinton Stimpson
ject.org/browse/QTBUG-4838 https://bugreports.qt-project.org/browse/QTBUG-5143 -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/openso

Re: [cmake-developers] qt4_use_modules

2012-08-11 Thread Clinton Stimpson
On Aug 11, 2012, at 10:36 AM, Alexander Neundorf wrote: > On Friday 10 August 2012, Stephen Kelly wrote: > > David Cole wrote: > > > I assume it's the "qt4_use_modules" branch on the stage? > > > > Yes, sorry, I should have pointed that out. > What was the plan with the more generic target_use_p

Re: [cmake-developers] qt4_use_modules

2012-08-15 Thread Clinton Stimpson
ally have to put a if(WIN32) around that, like this? if(WIN32) qt4_use_modules(myapp main) endif() Previously, I could do target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${QT_LIBRARIES}) and on those platforms without qtmain, the variable is simply empty. Besides that question, the patch looks

Re: [cmake-developers] Porting QtDialog to Qt 5

2012-08-21 Thread Clinton Stimpson
cmake ../CMake CMake Error at Source/QtDialog/CMakeLists.txt:20 (qt5_wrap_ui): Unknown CMake command "qt5_wrap_ui". Call Stack (most recent call first): Source/QtDialog/CMakeLists.txt:57 (QT4_WRAP_UI) Any ideas? -- Clinton Stimpson Elemental Technologies, Inc Computational

Re: [cmake-developers] Porting QtDialog to Qt 5

2012-08-21 Thread Clinton Stimpson
On Tuesday, August 21, 2012 07:23:05 PM Stephen Kelly wrote: > Clinton Stimpson wrote: > > On Tuesday, August 21, 2012 11:18:44 AM Stephen Kelly wrote: > >> Hi, > >> > >> I've pushed the qt5-qtdialog-port branch to stage. It makes it > >> possi

Re: [cmake-developers] FindQt4 DBus framework problem on the Mac

2012-09-06 Thread Clinton Stimpson
ept possibly if you configure with -prefix /path/to/qt/build to avoid a make install step. The patch to FindQt4 is fine with me. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware open-source

Re: [cmake-developers] FindQt4 DBus framework problem on the Mac

2012-09-06 Thread Clinton Stimpson
> > What's "recent" in your book? (If I upgrade to 4.8.2 will the problem > also "just go away"...?) > > On Thu, Sep 6, 2012 at 3:55 PM, Clinton Stimpson wrote: > > On Thursday, September 06, 2012 03:17:33 PM David Cole wrote: > >&g

Re: [cmake-developers] Review request: FindQt4-nonfatal-if-Qt5-found

2012-10-23 Thread Clinton Stimpson
> I've just pushed the FindQt4-nonfatal-if-Qt5-found branch, and before > merging it to next, I'd like some review (Alex? Clinton?). > > Thanks! > > Steve. > > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source pro

[cmake-developers] rpm/deb component issue

2012-10-24 Thread Clinton Stimpson
ay to override it. Does anyone have a suggested way for me to fix cmCPack*Generator.cxx and/or CPackDeb.cmake, CPackRPM.cmake? This is the first time I've looked at modifying those particular files. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.

Re: [cmake-developers] rpm/deb component issue

2012-10-24 Thread Clinton Stimpson
On Wednesday, October 24, 2012 11:59:52 AM Clinton Stimpson wrote: > I have a problem with the rpm & deb cpack generators. > > I've set the following: > set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1) > set(CPACK_DEB_COMPONENT_INSTALL 1) > set(CPACK_RPM_COMPONENT

Re: [cmake-developers] rpm/deb component issue

2012-10-24 Thread Clinton Stimpson
On Wednesday, October 24, 2012 09:27:38 PM Eric Noulard wrote: > 2012/10/24 Clinton Stimpson : > > On Wednesday, October 24, 2012 11:59:52 AM Clinton Stimpson wrote: > >> I have a problem with the rpm & deb cpack generators. > >> > &

Re: [cmake-developers] rpm/deb component issue

2012-10-24 Thread Clinton Stimpson
On Wednesday, October 24, 2012 10:08:29 PM Eric Noulard wrote: > 2012/10/24 Clinton Stimpson : > > On Wednesday, October 24, 2012 09:27:38 PM Eric Noulard wrote: > >> 2012/10/24 Clinton Stimpson : > >> > On Wednesday, October 24, 2012 11:59:52 AM Clinton Stimpson w

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Clinton Stimpson
mentation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Clinton Stimpson
On Oct 25, 2012, at 4:18 PM, Bill Hoffman wrote: > On 10/25/2012 6:06 PM, Alan W. Irwin wrote: >> >> I have just discovered an extremely simple test case of the whole > > We have already found the problem and have an even smaller test case. > > cat info.cmake > file(STRINGS a.exe _strings LIMI

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Clinton Stimpson
On Oct 25, 2012, at 9:42 PM, Bill Hoffman wrote: > > On Oct 25, 2012 11:15 PM, "Clinton Stimpson" wrote: > > > > > > On Oct 25, 2012, at 4:18 PM, Bill Hoffman wrote: > > > > > On 10/25/2012 6:06 PM, Alan W. Irwin wrote: > > >> >

Re: [cmake-developers] Review request: qt4-target-depends

2012-12-31 Thread Clinton Stimpson
re are more other and useful things to do, > but this is the largest issue and the one with the biggest gain. > > Do you think my patch is not self-contained and useful enough as it is to go > in? > For some reason I thought you needed the private ones too because a custom built

Re: [cmake-developers] Review request: Qt4 interface includes and defines (Was Re: Interface includes and defines plumbing)

2013-01-07 Thread Clinton Stimpson
> >>> Done, thanks, > >> > >> Thanks for cleaning up the dashboard trouble. I've merged this > >> to master! > > > > Great, thanks! > > > > I've pushed two new branches to my gitorious clone. > > I also re-pushed the qt4

Re: [cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

2013-02-07 Thread Clinton Stimpson
805 <894...@bugs.launchpad.net> > To: cm...@packages.qa.debian.org > > ** Branch linked: lp:ubuntu/raring-proposed/cmake -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com -- Powered by www.kitware.com Visit other Kitware ope

Re: [cmake-developers] Fwd: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML plugins are installed

2013-02-07 Thread Clinton Stimpson
On Thursday, February 07, 2013 05:51:59 PM Stephen Kelly wrote: > Clinton Stimpson wrote: > > This is interesting... > > > > The intent of FindQt4.cmake is to find the Qt installation so it can be > > used. But in that bug report, the QT_IMPORTS_DIR variable is bein

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-08 Thread Clinton Stimpson
cus > -- > > 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 sub

Re: [cmake-developers] Qt 4 and 5 on the same system - qmake binary name priority

2013-03-11 Thread Clinton Stimpson
On Monday, March 11, 2013 11:23:31 AM Brad King wrote: > On 03/08/2013 02:52 PM, Clinton Stimpson wrote: > > Its not as simple as changing the order. > > If I have my own build of Qt4, and if FindQt4.cmake had this: > > find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmak

  1   2   >