[cmake-developers] install(DIRECTORY) genex support

2014-11-05 Thread Tim Blechmann
hi all, i wonder, is there any reason for not supporting generator expressions for install(DIRECTORY)? i need this functionality to be able to install dSYM folders which are generated by xcode. if not, could someone review/merge this patch [1]? it is probably too late for 3.1, right? thanks a

Re: [cmake-developers] GCC HPPA linker errors

2014-11-05 Thread Chuck Atkins
So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. Can you check the output of uname with it's various options? I suspect the result might not be exactly parisc. - Chuck On Tue, Nov 4, 2014 at 4:27 PM, Chuck Atkins

Re: [cmake-developers] GCC HPPA linker errors

2014-11-05 Thread Brad King
On 11/05/2014 10:38 AM, Chuck Atkins wrote: So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. The value of cmake_machine_parisc is not set on HP-UX by the bootstrap script so it can only ever work on Linux right now. These changes broke

Re: [cmake-developers] Assembly/preprocessed targets for Fortran

2014-11-05 Thread Brad King
On 11/04/2014 06:37 PM, Tim Gallagher wrote: I have attached the patch to enable the targets for Fortran. Thanks. Please update it to avoid using hard TABs for indentation. Also in the CompileCommandOutput test hunk: -project (CompileCommandOutput CXX) +project (CompileCommandOutput)

Re: [cmake-developers] install(DIRECTORY) genex support

2014-11-05 Thread Brad King
On 11/05/2014 07:01 AM, Tim Blechmann wrote: i wonder, is there any reason for not supporting generator expressions for install(DIRECTORY)? It just hasn't been implemented. Support for generator expressions was added to install(FILES) here: install: Support generator expressions in FILES and

Re: [cmake-developers] [Review request] Topic ExternalProject_SCM_DISCONNECTED

2014-11-05 Thread Brad King
On 11/05/2014 03:58 AM, Daniele E. Domenichelli wrote: If SCM_DISCONNECTED is set, the update step is not executed automatically when building the main target. The update step can still be added as a step target and called manually. Good feature. Would the name UPDATE_INDEPENDENT or

Re: [cmake-developers] install(DIRECTORY) genex support

2014-11-05 Thread Tim Blechmann
hi brad, [1] https://github.com/Kitware/CMake/pull/124 Good start. Please extend documentation and tests for this feature similar to how it was done for install(FILES) in the above-linked commit. Then please read CONTRIBUTING.rst and send the patch to this list for further review.

Re: [cmake-developers] GCC HPPA linker errors

2014-11-05 Thread Rolf Eike Beer
Am Mittwoch, 5. November 2014, 10:38:14 schrieben Sie: So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. Can you check the output of uname with it's various options? I suspect the result might not be exactly parisc. voyager ~ # uname

Re: [cmake-developers] Assembly/preprocessed targets for Fortran

2014-11-05 Thread Tim Gallagher
Sorry about the TABs, I guess emacs defaults to it and I never noticed. I have attached an updated patch where the tabs are removed and the test for CMAKE_EXPORT_COMPILE_COMMANDS is also removed. Tim - Original Message - From: Brad King brad.k...@kitware.com To: tim gallagher

Re: [cmake-developers] Assembly/preprocessed targets for Fortran

2014-11-05 Thread Brad King
On 11/05/2014 12:14 PM, Tim Gallagher wrote: I have attached an updated patch Thanks! Please split this into two patches. The first one should do the refactoring of the variable name and corresponding logic with no functionality changes. The second one can add the Fortran feature. Also

Re: [cmake-developers] Initial Attempt at Green Hill MULTI IDE Generator Support

2014-11-05 Thread Geoffrey Viola
I rebased and squashed the previous commits and made some new changes. The GHS generator should now build a kernel and a monolith, which is necessary to autogenerate all the files necessary to compile. The generator determines that the executable target is a kernel based on a compiler flag and

Re: [cmake-developers] Assembly/preprocessed targets for Fortran

2014-11-05 Thread Tim Gallagher
Here's to hoping 3rd time's the charm... Also, what version of gfortran do you have that requires both -E and -cpp to do the preprocessing? I don't need that on my version, I'm using 4.7.1. There may need to be more sophisticated logic in the Compiler module to add -cpp to the command line for

Re: [cmake-developers] Assembly/preprocessed targets for Fortran

2014-11-05 Thread Brad King
On 11/05/2014 01:53 PM, Tim Gallagher wrote: Here's to hoping 3rd time's the charm... Thanks. Applied with minor tweaks: Makefile: Refactor checks for lang-specific targets and export compile cmds http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=06f8b429 Makefile: Add assembly and

Re: [cmake-developers] [wip/patch] Expose Ninja console pool feature for custom commands/targets

2014-11-05 Thread Peter Collingbourne
On Mon, Nov 03, 2014 at 04:22:56PM -0800, Peter Collingbourne wrote: Hi all, This patch exposes the Ninja console pool feature via the add_custom_command and add_custom_target commands. Specifically, it introduces a USE_CONSOLE flag which can be used to communicate to the generator that the

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2014-11-05 Thread Brad King
On 11/04/2014 06:38 PM, Eric Wing wrote: This would be really useful to me. No one plans to work on it AFAIK. You'd have to dig in yourself. Sorry, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

[CMake] [java] How do I add an implements MyI to Swig generated java class?

2014-11-05 Thread Witold E Wolski
I have some C++ classes which implement an interface. On the C++ side I have: struct Block{ void waitForNotify()=0; } class B : Listener{ void waitForNotify(); ... } what I would love to get generated on the java side is: interface Block{ void notifiy(); } class B implements Block{ swig

[CMake] Asm object files in object libraries

2014-11-05 Thread Eric Huhtala
I have both cpp's and assembly files which I would like to include in an object library, however, I get: OBJECT library blah contains: blah1.spp blah2.spp but may contain only headers and sources that compile. why can't an object created from assembly code be grouped together with

[CMake] Having a real hardtime installing CMake on a Linux cluster machine

2014-11-05 Thread Joshua Studen
Hi, The problem is relatively simple. I've downloaded cmake and have run configure as follows: ./configure --prefix=$HOME/x86_64-6.4 --no-qt-gui The configure phase seems to work fine.. throws no errors, but then when I type gmake, I get the following errrors:

Re: [CMake] Having a real hardtime installing CMake on a Linux cluster machine

2014-11-05 Thread Tom Kacvinsky
With bash: CFLAGS=-IXXX CXXFLAGS=-IXXX LDFLAGS=-LXXX ./configure ... This should indicate to configure that headers and libraries are found in the locations you specify. On Wed, Nov 5, 2014 at 3:01 PM, Joshua Studen joshua.stu...@gmail.com wrote: Hi, The problem is relatively simple. I've

Re: [CMake] Having a real hardtime installing CMake on a Linux cluster machine

2014-11-05 Thread Joshua Studen
It's not working. the problem is this /net/hp95/users/jstuden3/cmake-2.8.8/Source/CursesDialog/form/form.h:46:31: error: ncurses/ncurses.h: No such file or directory It's trying to reference the directory specified in CFLAGS/ncurses/ncurses.h so if I pass in

Re: [CMake] Asm object files in object libraries

2014-11-05 Thread Eric Huhtala
It looks like the issue was that spp isn't recognized as assembly, so after setting the source file LANGUAGE property to ASM, it worked as expected. On Wed, Nov 5, 2014 at 1:50 PM, Eric Huhtala eric.huht...@gmail.com wrote: I have both cpp's and assembly files which I would like to include in

[CMake] How to find Python 2.7 libraries if 3.x is installed too

2014-11-05 Thread René J . V . Bertin
Hello, I am trying to get a not-so-old project to build (gizmod.sourceforge.net) which requires Python2.7 and libboost-python. I cannot seem to figure out how to do a find_package(PythonLibs REQUIRED) that will not consider that Python 3.4 is a suitable newer version of Python 2.7 . Is that

Re: [CMake] How to find Python 2.7 libraries if 3.x is installed too

2014-11-05 Thread Christopher Mullins
Consider doing what ITK does: https://github.com/InsightSoftwareConsortium/ITK/blob/master/Wrapping/Generators/Python/CMakeLists.txt#L1-18 Also make sure you're using the latest CMake release. On Wed, Nov 5, 2014 at 6:13 PM, René J.V. rjvber...@gmail.com wrote: Hello, I am trying to get a

Re: [CMake] Having a real hardtime installing CMake on a Linux cluster machine

2014-11-05 Thread Bill Hoffman
On 11/5/2014 4:03 PM, Joshua Studen wrote: I don't think the configure script is respecting the variables at all. For example, even though I've specified --no-qt-gui, I still get this after configure: Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc1-330-gbff33bd

2014-11-05 Thread Clinton Stimpson
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 bff33bd91319ca7bccb42830968cd8bd884fce73 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc1-332-g9c516ed

2014-11-05 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 9c516edb5426949253d74464d923bf67bc82345e (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc1-335-g72374d8

2014-11-05 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 72374d85246e15e99bf4d15936e2d22f977750d5 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc1-337-g702768c

2014-11-05 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 702768c84b8622cf1dd1cf1a8ce526d7c0ba4a3e (commit) via

[Cmake-commits] CMake branch, next, updated. v3.1.0-rc1-340-gebac33c

2014-11-05 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 ebac33c84bb11f9fede15a5fc2d929ab5355331d (commit) via