Hello Ben,
I think the change is also required for the following line (line 424):
if(!default_config !configurationTypes.empty())
Because here the default_config could also be a valid pointer with an
empty content/string.
Nevertheless I had already posted a working patch which uses
Hello,
since version 3.1.0 CMake generates cmake_install.cmake files where the default configuration is empty.
(e.g.: set(CMAKE_INSTALL_CONFIG_NAME ))
In previous versions = 3.0.2 the default_config variable points to a NULL pointer for invalid configurations.
In later releases the variable
Hi Brad,
attached is an updated patch.
Roman
From ea75cb1a3d866d923b6711c9e0c0bbf1f66d7dbf Mon Sep 17 00:00:00 2001
From: Roman Wüger roman.wue...@gmx.at
Date: Fri, 13 Mar 2015 09:18:19 +0100
Subject: [PATCH] WCDH: Fix cxx_nullptr for compilers which doesn't support
C++11
---
Hello Brad,
if CMake 3.2.0 will not be released, when is the expected release date for
CMake 3.2.1?
Regards
Roman
Am 06.03.2015 um 21:38 schrieb Brad King brad.k...@kitware.com:
On 03/06/2015 06:57 AM, Nils Gladitz wrote:
On 03/06/2015 10:22 AM, Pere Mato Vila wrote:
[100%] [100%]
Hello,
i tried to use the generated compiler detection header but get an error if I
use the cxx_nullptr feature on a compiler which doesnt support C++11.
void doSomething(int n, bool *ok = 0) {
if (ok)
*ok = true;
if (n != 0) {
if (ok)
*ok =
Hello,
I've attached a patch for this problem.
Best Regards
From 3b77b957a41ce00c8e5d8d47ce442887181d669d Mon Sep 17 00:00:00 2001
From: Roman Wüger roman.wue...@gmx.at
Date: Thu, 12 Mar 2015 11:51:24 +0100
Subject: [PATCH] WCDH: Fix cxx_nullptr for compilers which doesn't support
C++11
---
Hello Robert,
is there a list which showing the changes between rc1 and rc2, to test such
things explicitly?
Regards
Roman
Am 24.02.2015 um 16:01 schrieb Robert Maynard robert.mayn...@kitware.com:
I am proud to announce the CMake 3.2 second release candidate.
Sources and binaries are
configure_file documentation (#15403)
On Wed, Feb 25, 2015 at 9:07 AM, Roman Wüger roman.wue...@gmx.at wrote:
Hello Robert,
is there a list which showing the changes between rc1 and rc2, to test such
things explicitly?
Regards
Roman
Am 24.02.2015 um 16:01 schrieb Robert Maynard
Hello,
is there a proper solution to get all used source files for all defined
librarys and executables?
My first idea was to overload the main functions such as add_executable() and
add_library() temporarily in the main CMakeLists.txt and write a text file or
whatever, but I thought there
})
endfunction()
function(add_executable name)
parseArguments(${ARGN})
_add_executable(${name} ${ARGN})
endfunction()
Best Regards
Roman
Am 28.04.2015 um 07:00 schrieb Roman Wüger roman.wue...@gmx.at:
Hello,
is there a proper solution to get all used source files for all defined
librarys
configure_file to resolve the rest of the CMake variables.
After the 4 header files are generated, which one should I include in the unit
test for example?
Do you understand the problem?
Thanks
Roman
Am 15.06.2015 um 15:10 schrieb Brad King brad.k...@kitware.com:
On 06/12/2015 07:19 AM, Roman
Hello,
short description: I want to have a configuration header file per unit test.
For this purpose I wrote the following function, which creates a header file
in ${CURRENT_BINARY_DIR} and copy all test files into the binary
directory.
Howewer, I got it to work when I use
Hi,
I noticed that sometimes when a target is reloaded, that the virtual folders
and targets for the complete visual studio solution get expanded.
For a small project this isn't a problem, but in a large project (~ 100
targets) this is a really big problem to close all targets every time.
Did
Hello,
did someone work on this? (http://public.kitware.com/Bug/view.php?id=12592)
Is there an alternative to use extra install commands per component?
Thanks in advance
Best Regards
Roman
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Hello Brad,
I made the atoi change but my problem is the test itself. I don't know how to
specify the command line parameter and check the generated xml file.
Best Regards
RomN
Am 27.07.2015 um 17:52 schrieb Brad King brad.k...@kitware.com:
On 07/23/2015 03:23 AM, Roman Wüger wrote:
I
Hi Brad,
thanks for your investigation.
I've tried it on Mac OS 10.10.4 with clang 6.1.0.6020053 from XCode 6 using
Unix Makefiles as the generator.
Best Regards
Roman
Am 28.07.2015 um 16:55 schrieb Brad King brad.k...@kitware.com:
On 07/27/2015 03:26 PM, Roman Wüger wrote:
SubProj1
-Ursprüngliche Nachricht-
Von: Brad King [mailto:brad.k...@kitware.com]
Gesendet: Dienstag, 28. Juli 2015 18:50
An: Roman Wüger roman.wue...@gmx.at
Cc: CMake MailingList cm...@cmake.org; CMake Developer MailingList
cmake-developers@cmake.org
Betreff: Re: [cmake-developers] check_cxx_source_compiles
miss configure something here?
Best Regards
Roman
-Ursprüngliche Nachricht-
Von: cmake-developers [mailto:cmake-developers-boun...@cmake.org] Im
Auftrag von Roman Wüger
Gesendet: Montag, 27. Juli 2015 07:35
An: CMake MailingList cm...@cmake.org; CMake Developer
Hi Brad,
i've updated the patch with the missing things, but I don't know how to use the
-check.cmake scripts to check the length of the output.
Maybe you could have a look at it.
Best regards
Roman
Am 22.07.15 um 17:14 schrieb Brad King
On 07/21/2015 06:16 PM, Roman Wüger wrote:
I've
Hi Brad,
I've attached a patch which learns CTest to handle it.
I hope this patch could be merged.
Best Regards
Roman
-Ursprüngliche Nachricht-
Von: Brad King [mailto:brad.k...@kitware.com]
Gesendet: Dienstag, 21. Juli 2015 15:53
An: Roman Wüger
Cc: CMake Developer MailingList
Hello,
when I run CTest from the command line with the same parameters as on the build
server, then everything is working fine.
If I run the command on the build server then I get a message which says that
the threshold of 1024 bytes are exceeded. The output are debug messages and
not
WRAPPER_EXTENSION" is set to "InDesignPlugin".
But it doesn't work if the "Unix Makefiles" generator is used.
See also https://cmake.org/Bug/view.php?id=14742
Best Regards
Roman
> Am 05.10.2015 um 17:31 schrieb Brad King <brad.k...@kitware.com>:
>
>> On 10/01/2015
Thanks,
If anyone is interested, the guys from bullseye updated their website and the
coverage is working now.
Best Regards
Von meinem iPhone gesendet
> Am 10.10.2015 um 14:43 schrieb Gregor Jasny <gja...@googlemail.com>:
>
> Hello,
>
>> On 09/10/15 17:51, Roman Wü
Hello,
Im trying to configure and build a project with the Xcode generator and
the bullseye coverage tool.
Without the bullseye coverage tool it works fine but if I want to use it I
had to do the following workaround:
http://www.bullseye.com/help/tool-xcode.html
In short words, the
Hi Brad,
sorry for the long response time, but I was on vacation.
Attached you will find the corrected patch.
Best regards
Roman
Am 20.08.15 um 17:30 schrieb Brad King
> On 08/20/2015 06:30 AM, Roman Wüger wrote:
>
> > I made the "atoi" change but my problem is the
Hi Brad,
I fail on implementing the test cases, I'm not familiar with testing this way
in general. How can we finish this change?
Best regards
Roman
> Am 31.08.2015 um 21:19 schrieb Brad King <brad.k...@kitware.com>:
>
>> On 08/31/2015 07:36 AM, "Roman Wüger" wrot
I know what you mean, sure I have tested it on a developer machine but not as
part of a "ctest unit test". I've tested it on a real world example.
My problem is to add a "ctest unit test case".
> Am 10.09.2015 um 17:06 schrieb Roman Wüger <roman.wue...
g [mailto:brad.k...@kitware.com]
> Gesendet: Donnerstag, 10. September 2015 17:14
> An: Roman Wüger <roman.wue...@gmx.at>
> Cc: cmake-developers@cmake.org
> Betreff: Re: [cmake-developers] CTest threshold exceeds 1024 bytes
>
> On 09/10/2015 11:11 AM, Roman Wüger wrote:
> > I've
Hello,
at the moment I build my frameworks with the following property:
set_target_properties(${PROJECT_NAME} PROPERTIES FRAMEWORK TRUE)
If my project is called "Test" for example, then a folder structure with the
name "Test.framework" is created.
Is there a way to rename the suffix
Is it in CMake 3.6.x?
Regards
Roman
> Am 02.06.2016 um 18:03 schrieb clin...@elemtech.com:
>
> 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
Hello,
I have successfully configured a project with CMake 3.5.2 so it creates a valid
Release and Debug *.app bundle which runs on iOS. However if I build an archive
in Xcode with "Product->Archive" then the app bundle seems not complete under
Hello,
I read the mailing list but did find a way which works.
At the moment I use Xcode 7.3.1 and CMake 3.5.2 which creates a project for iOS
9.3.
All I want is to add the directory "Images.xcassets" and a second directory
structure to be copied to the Resource folder listed in XCode.
When
Ok, I've installed all options from the SDK
(https://dev.windows.com/en-us/downloads/windows-10-sdk)
but it doesn't solve the issue.
Is there something other to install?
What things does CMake require?
Best Regards
Roman
> Am 05.02.2016 um 14:54 schrieb Roman Wüger <roman.wue...@
Hello,
I use CMAKE_SYSTEM_NAME:STRING=WindowsStore and CMAKE_SYSTEM_VERSION=10.0 to
build an universal app. However, does CMake also support *.appxupload and such
bundles? And if so, how?
Thanks in advance
Best regards
Roman
--
Powered by www.kitware.com
Please keep messages on-topic and
Hello,
Ive Installed Windows 10 Professional with VS2015 Update 1 and CMake 3.4.3.
When I run configure:
cmake -G "Visual Studio 14 Win64" -DCMAKE_SYSTEM_NAME:STRING=WindowsStore
-DCMAKE_SYSTEM_VERSION:STRING=10.0 ..\source
Then I became the following error message:
CMake Error
Hello,
does anyone successfully created a unit test for Windows 10 Universal?
My current situation is that the unit tests are running if building for
desktop.
But if I try to build for winrt/universal/Windows 10 store then the tests
aren't executed.
When I create a unit test for Windows
Hello,
Is it possible with CMake >= 3.4.0 to run a program/command before the test and
another program after the test was run?
The meaning of that would be, that I want to start a small server program and
run the "client" test. After the test was finished, kill the process of the
server
re.com>:
>
>> On 02/16/2016 07:17 AM, Roman Wüger wrote:
>> Is it possible with CMake >= 3.4.0 to run a program/command before the
>> test and another program after the test was run?
>>
>> The meaning of that would be, that I want to start a small serve
Hi Nils,
great thanks.
Regards
Roman
> Am 17.02.2016 um 09:09 schrieb Nils Gladitz <nilsglad...@gmail.com>:
>
>> On 17.02.2016 07:58, Roman Wüger wrote:
>> Ok thanks
>>
>> Would it be an opinion to have a COMMAND parameter for the add_test function
Hello,
i noticed that CPack includes the WINTRUST.dll when I generate an NSIS
installer.
How can I avoid this?
I have no dependencies to this library.
The problem is that the application doesn't work on older Windows versions with
this dll. If I remove the dll after installation then
Yes, i use fixup_bundle.
Is there a better alternative?
Regards
> Am 11.03.2016 um 14:25 schrieb Brad King <brad.k...@kitware.com>:
>
>> On 03/11/2016 02:41 AM, Roman Wüger wrote:
>> i noticed that CPack includes the WINTRUST.dll when I
>> generate an NSIS
Hi,
I read that CMake has support for those platforms. Is there a way to modify the
*.appxrecipe file or is there a chance to add files before packaging to an
*.appx file?
Thanks in advance
Regards
Roman
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ
hat the error pipe isn’t read correctly, because _errVar is empty.
And hints?
Regards
Roman
> Am 23.05.2016 um 19:33 schrieb Brad King <brad.k...@kitware.com>:
>
>> On 05/23/2016 11:34 AM, Roman Wüger wrote:
>> I tried it with CMake 3.5.1 and 3.5.2 and now with the master wi
Hello,
when I run qmllint from the command line to test an error I get:
C:\Tests>C:\Qt\5.6\msvc2015\bin\qmllint.exe test.qml
test.qml:1 : Syntax error
C:\Tests>echo %ERRORLEVEL%
-1
C:\Tests>
If I call this from a CMake script
execute_process(COMMAND C:/Qt/5.6/msvc2015/bin/qmllint.exe
As an addition:
If I run "C:\Qt\5.6\msvc2015\bin\qmllint.exe test.qml 1> stdout.txt 2>
stderr.txt"
Then the error is written to stderr.txt.
Regards
Roman
> Am 23.05.2016 um 09:25 schrieb Roman Wüger <roman.wue...@gmx.at>:
>
> Hello,
>
> when I run
Hello list,
I got the following error when linking the iOS bundle:
clang: error: cannot specify -o when generating multiple output files
I didnt found anything about the error in the internet, so maybe someone
has already solved such error?
Does any one have a hint what could be wrong?
Hello,
attached is a patch with which files can be specified which should not be
resolved.
Best regards
Roman
0001-BundleUtilities-Add-optional-parameter-to-ignore-spe.patch
Description: Binary data
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Hello Brad,
attached is an updated patch.
Regards
Roman
0001-BundleUtilities-Add-optional-parameter-to-ignore-spe.patch
Description: Binary data
> Am 18.04.2016 um 17:28 schrieb Brad King <brad.k...@kitware.com>:
>
>> On 04/18/2016 10:20 AM, Roman Wüger wrote:
>
No one?
The target property RESOURCE does only allow files but no directories.
Regards
Roman
> Am 22.06.2016 um 17:22 schrieb Roman Wüger <roman.wue...@gmx.at>:
>
> Hello,
>
> I read the mailing list but did find a way which works.
>
> At the moment I use Xcode
Thanks Ben,
I know because I wrote this ticket.
I thought this was "closed/want fixed" because of the implementation for
RESOURCE a few days ago.
Regards
Roman
> Am 29.06.2016 um 14:52 schrieb Ben Boeckel <ben.boec...@kitware.com>:
>
>> On Tue, Jun 28, 2016 at
Hello,
I want to customize some with CPack generated *.wxs files.
For example: directories.wxs is generated with only the TARGET_DIR.
How can I add an additional directory in this file and use the newly added
directory in the components (features.wxs)?
I read about CPACK_WIX_PATCH_FILE.
e project (look at
> Tests\VSWinStorePhone if you want an example) and the icons should not be
> overridden then.
>
> Thanks
>
> -Original Message-
> From: Brad King [mailto:brad.k...@kitware.com]
> Sent: Wednesday, October 5, 2016 12:09
> To: Roman Wüger
Hello,
I tried the following to copy the required app icons to the required
destination:
configure_file(Logo.png
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.dir/Logo.png COPYONLY)
The CMake process itself overrides those files at the end with the files from
the CMake's Template directory,
Hello,I've attached a patch with which it is now possible to set custom install directories per component.
0001-CPack-NSIS-custom-component-install-directory.patch
Description: Binary data
Best RegardsRomanAm 21.09.2016 um 23:04 schrieb Roman Wüger <roman.wue...@gmx.at>:Hello,Per d
The most of the functions could be overloaded.
You could overload those functions, filter options out and pass the new options
to the original function which starts with and '_' underscore.
The most of the CMake module files could also be overloaded.
Hope it helps
Best regards
Roman
> Am
Hello,
Per default the install directory for a
component is $INSTDIR.
Is there a chance to change the install dir per component?
Thanks
Roman
--
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
y: Found") set(CMAKE_CXX_CLANG_TIDY
"${clang_tidy};-checks=-*,clang-analyzer-*,-clang-analyzer-alpha*,performance-*,cppcoreguidelines-*,cert-*,modernize-*")
endif()
Regards
Roman
> Am 26.10.2016 um 11:50 schrieb Daniel Pfeifer <dan...@pfeifer-mail.de>:
>
>> On We
Hello,
If I use a small piece of code which uses , then it fails with
check_cxx_source_compiles. If I copy the piece of code into a file and run
the following on the command line, then it works:
clang++ main.cpp -std=c++14 -stdlib=libc++
Here is the piece of code:
#include
It is working now, after I added -lc++ to CMAKE_REQUIRED_LIBRARIES before the
check_cxx_source_compiles() call.
Shouldn't this be done by CMAKE_CXX_STANDARD?
Best Regards
Roman
> Am 24.11.2016 um 19:08 schrieb Roman Wüger <roman.wue...@gmx.at>:
>
> Hello,
>
> If I use
Hello,
I set CMAKE_CXX_INCLUDE_WHAT_YOU_USE and CMAKE_CXX_CLANG_TIDY. Both work as
expected with CMake 3.6.2 under linux. Under Mac OS with the same sources and
the same CMake version doesn't produce any output.
On Linux clang 3.8 is used, on Mac OS it is AppleClang 7.3.0 with clang-tidy
Hello,
I have a project which depends on a self compiled 3rd party project (boost)
Boost is here only an example, there are other 3rd party libraries too.
If I call the "install" command on the target, then it would be packaged.
But how could I add the shared libraries and especially the links
Hello,
is the signing of DEB packages (debsigs) and RPM packages (rpmsign or rpm
--addsign) supported at the moment?
Best Regards
Roman
--
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
Roman
> Am 19.07.2017 um 12:40 schrieb Elvis Stansvik <elvis.stans...@orexplore.com>:
>
> 2017-07-19 10:24 GMT+02:00 Roman Wüger <roman.wue...@gmx.at>:
>> Hello,
>>
>> I have a project which depends on a self compiled 3rd party project (boost)
>> Boost
Hello,
I played around with the C# support in CMake 3.8.0/3.8.1.
In a project I need embedded resources, how can I add those?
Regards
Roman
--
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
llRequiredSystemLibraries to do this. Since it sounds
> like you don't want all the libraries installed, use
> CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP and than deduce the path of
> vc_redist.exe from the value(s) in CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS.
>
>> On Mon, Sep 4, 2017 a
Hello,
is there already an existing function to get the vc_redist.exe for the current
generator?
Regards
Roman
--
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 the CMake
Hello,
I tried to install a file/directory with productbuild on macOS which is
generated with CPack.
The most of the files are installed correctly, but I have two problems:
If I want to install to “/Library/Application\ Support/Adobe/Lightroom/Modules”
If I want to install to the users
67 matches
Mail list logo