Re: [cmake-developers] [PATCH for bug 15253] Ninja: Pass only the flags relevant to the language.

2015-01-29 Thread Brad King
On 01/29/2015 03:12 AM, Brian Smith wrote: I don't see how to make CMake execute yasm -M -o x.obj x.asm $DEP_FILE and then execute yasm -o x.obj x.asm to do the actual assembly. The CMAKE_LANG_COMPILE_OBJECT value can be set to a list of multiple strings. Each will be invoked in order. I

[cmake-developers] Using Cmake

2015-01-29 Thread vahid kadivarkadivar
Hi, How can use Cmake builder for Eclipse IDE is possible? I want to build the MITK project in eclips IDE Thanks in advance -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support

Re: [cmake-developers] [PATCH for bug 15253] Ninja: Pass only the flags relevant to the language.

2015-01-29 Thread Brian Smith
Brad King brad.k...@kitware.com wrote: The original issue could have been worded to explain that nasm/yasm dependencies are not handled correctly, so I'd like to treat it that way. OK. If these tools have the -M flag then a deptype = gcc code path should work. yasm has an -M flag that

[cmake-developers] [CMake 0015381]: Certain COMPILE_OPTIONS are missing in Fortran VS10 project after set_source_files_properties()

2015-01-29 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15381 == Reported By:Øyvind Jensen Assigned To:

Re: [cmake-developers] [PATCH] Require libarchive 3.0.0 or later

2015-01-29 Thread Brad King
On 01/29/2015 01:36 AM, Gregor Jasny wrote: the libarchive shipped with RHEL6 is too old and does not provide archive_entry_copy_sourcepath_w. This patch tells cmake to look for version 3.0.0 or later. Applied, thanks: Require libarchive 3.0.0 or later

Re: [cmake-developers] [PATCH] Generator expressions for XCODE_ATTRIBUTE

2015-01-29 Thread Brad King
On 01/28/2015 02:14 PM, Gregor Jasny wrote: XCODE_ATTRIBUTE_TEST_HOST $TARGET_FILE:CocoaExample Would you consider applying the attached patch? It looks okay to me. How would you test that feature? Just grepping in the generated pbxproj? Add a case to the

[cmake-developers] [CMake 0015382]: Unable to specify resource filters in Eclipse project

2015-01-29 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15382 == Reported By:void.pointer Assigned To:

[cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value.

2015-01-29 Thread Robert Goulet
Hi folks, Here's a patch to fix a warning we get when generating a clean Windows Store project, APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value. This patch also fix an indentation error in the vcxproj. Thanks! -Robert Goulet

Re: [cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value.

2015-01-29 Thread Brad King
On 01/29/2015 01:45 PM, Robert Goulet wrote: Here's a patch to fix a warning This patch also fix an indentation error in the vcxproj. Applied, thanks: VS: Add missing newlines to .vcxproj generation http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4c5574a1 VS: Set default language in

Re: [cmake-developers] [PATCH for bug 15253] Ninja: Pass only the flags relevant to the language.

2015-01-29 Thread Brian Smith
Brad King brad.k...@kitware.com wrote: On 01/29/2015 03:12 AM, Brian Smith wrote: I don't see how to make CMake execute yasm -M -o x.obj x.asm $DEP_FILE and then execute yasm -o x.obj x.asm to do the actual assembly. The CMAKE_LANG_COMPILE_OBJECT value can be set to a list of multiple

Re: [cmake-developers] [PATCH for bug 15253] Ninja: Pass only the flags relevant to the language.

2015-01-29 Thread Brad King
On 01/29/2015 03:02 PM, Brian Smith wrote: Also, note that this bug was originally reported by karlhungus in the bug tracker, but your commit message says it was reported by me. It would be great if you could give karlhungus the credit for reporting the bug instead of me when you merge it into

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-29 Thread Brad King
On 01/28/2015 05:08 PM, Robert Goulet wrote: Please review my patch Good start. On Windows Store it should be an error to set VS_WINRT_COMPONENT explicitly to false for anything but an EXECUTABLE target. Actually, what does it mean to build targeting Windows Store and call add_executable or

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-29 Thread Brad King
On 01/29/2015 04:52 PM, Robert Goulet wrote: That sounds silly, but how do I merge patches with git? Read up on interactive rebase: git rebase -i. Not setting VS_WINRT_COMPONENT on an executable at all, when system name is 'WindowsStore', will produce an executable with everything properly

Re: [cmake-developers] [PATCH] Generator expressions for XCODE_ATTRIBUTE

2015-01-29 Thread Stephen Kelly
Brad King wrote: On 01/28/2015 02:14 PM, Gregor Jasny wrote: XCODE_ATTRIBUTE_TEST_HOST $TARGET_FILE:CocoaExample Would you consider applying the attached patch? It looks okay to me. Please extend the docs too

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-29 Thread Robert Goulet
Ok. :) That sounds silly, but how do I merge patches with git? Not setting VS_WINRT_COMPONENT on an executable at all, when system name is 'WindowsStore', will produce an executable with everything properly set as a Windows Store app. I don't use VS_WINRT_COMPONENT (except for my new special

Re: [cmake-developers] Fix for Windows Store warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value.

2015-01-29 Thread Gilles Khouzam
Thanks Robert. -Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Brad King Sent: Thursday, January 29, 2015 11:57 AM To: Robert Goulet Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Fix for Windows Store warning APPX1901:

Re: [cmake-developers] Windows Store generated solution also containing win32 console app?

2015-01-29 Thread Gilles Khouzam
Hi Robert, For applications you might not need the VS_WINRT_COMPONENT, but for libraries setting it vs not does have some differences. The main one being that you produce a WinMD file when set. If you look at the new project dialog when creating a Windows Store component, you have 2 types DLL