[CMake] Unable to debug Qt app in Xcode

2020-03-19 Thread Roman Wüger
Hello, with a simple GUI Qt application I’m unable to stop at a given breakpoint. Could it be that the xcodeproj is not generated correctly? I’m using cmake 3.16, Qt 5.14.1 and Xcode 11.3.1 on Catalina 10.15.3 Thanks in advance Best Regards Roman -- Powered by kitware.com/cmake Kitware

[CMake] Preferred way to deploy Qt app to Mac App Store

2020-03-19 Thread Roman Wüger
Hello, What is at the moment the preferred way to deploy a Qt app to the Mac App Store and to the iOS App Store ? Thanks in advance Best Regards Roman -- Powered by kitware.com/cmake Kitware offers various services to support the CMake community. For more information on each offering,

Re: [CMake] Problems with installer on macOS

2020-01-13 Thread Roman Wüger
Setting BundleIsRelocatable to false was the solution Best regards Roman > Am 08.01.2020 um 21:07 schrieb Roman Wüger : > > Hello, > > I generate a productbuild installer with CPack. > > When I start the installer and view the files then everthing is packaged as &g

[CMake] Problems with installer on macOS

2020-01-08 Thread Roman Wüger
Hello, I generate a productbuild installer with CPack. When I start the installer and view the files then everthing is packaged as it should. But when I install them, then not all files are installed. The install protocol from the installer succeeds with no errors. Any hints? Best Regards

Re: [CMake] [cmake-developers] productbuild: Installing to absolute system path or to user home path

2020-01-02 Thread Roman Wüger
Ok if someone is interested I solved it with a post-install script at the moment. I installed it in the default location and moved it afterwards with the post-install script to the ~/Library... Regards Roman > Am 05.11.2019 um 15:02 schrieb Roman Wüger : > >  > Hello, >

[cmake-developers] productbuild: Installing to absolute system path or to user home path

2019-10-28 Thread Roman Wüger
 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

[CMake] productbuild: Installing to absolute system path or to user home path

2019-10-28 Thread Roman Wüger
 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

[CMake] XCode target membership

2019-03-14 Thread Roman Wüger
Hello, since Xcode 10 I noticed that I must check the Checkbox (Target membership on the right pane) for my target when I want that the assets are recognized for the specified target. Is there a way to automatically set this option via CMake? The problem is that when I forget to set this

Re: [CMake] Android project with CMake and Visual Studio and without Nsight Tegra

2018-08-23 Thread Roman Wüger
No one? > Am 15.08.2018 um 17:01 schrieb Roman Wüger : > > Why isn‘t it enough to install the SDK and NDK? > > Regards > Roman > >> Am 09.08.2018 um 09:02 schrieb Roman Wüger : >> >> Hello, >> >> is it somehow possible to build an Andro

[CMake] Translation for CPack.GenericWelcome.txt

2018-08-16 Thread Roman Wüger
Hello, I use CPack and productbuild on Mac OS. When I run the Installer after creation, then the welcome message in the Installer is German, but I do not find a translation for the original english document. Where do the translation come from? Thanks in advance Regards Roman -- Powered by

Re: [CMake] Android project with CMake and Visual Studio and without Nsight Tegra

2018-08-15 Thread Roman Wüger
Why isn‘t it enough to install the SDK and NDK? Regards Roman > Am 09.08.2018 um 09:02 schrieb Roman Wüger : > > Hello, > > is it somehow possible to build an Android project with CMake and Visual > Studio without the Nsight Tegra Visual Studio Edition? Because the > i

Re: [CMake] CMake and Visual Studio Code under linux

2018-08-09 Thread Roman Wüger
Thank you, I will give it a try. Regards Roman > Am 09.08.2018 um 09:45 schrieb Eric Noulard : > > >> Le jeu. 9 août 2018 à 09:09, Roman Wüger a écrit : >> Hello, >> >> how can I configure my Project to run it with the Visual Studio Code under >> L

[CMake] CMake and Visual Studio Code under linux

2018-08-09 Thread Roman Wüger
Hello, how can I configure my Project to run it with the Visual Studio Code under Linux? I did not find a useful generator. Thanks in advance Best Regards -- 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] Android project with CMake and Visual Studio and without Nsight Tegra

2018-08-09 Thread Roman Wüger
Hello, is it somehow possible to build an Android project with CMake and Visual Studio without the Nsight Tegra Visual Studio Edition? Because the installation of NVIDIA Nsight Tegra hangs during configuring the Visual Studio 2017 in a Virtual Machine. Thanks in advance Best Regards --

Re: [CMake] Path to vc_redist

2017-09-05 Thread Roman Wüger
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

Re: [cmake-developers] [CMake] Path to vc_redist

2017-09-05 Thread Roman Wüger
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

[CMake] Path to vc_redist

2017-09-04 Thread Roman Wüger
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

[cmake-developers] Path to vc_redist

2017-09-04 Thread Roman Wüger
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

[cmake-developers] Signing of DEB and RPM packages

2017-07-25 Thread Roman Wüger
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

[CMake] Signing of DEB and RPM packages

2017-07-25 Thread Roman Wüger
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

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
Package/cmake_install.cmake:37 (include) CPack Verbose: fixup_bundle: done CPack Error: Error when generating package: MyPackage Regards Roman -Ursprüngliche Nachricht- Von: Elvis Stansvik [mailto:elvis.stans...@orexplore.com] Gesendet: Mittwoch, 19. Juli 2017 20:07 An: Ro

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
Thank you Elvis for the awesome example. Best Regards Roman -Ursprüngliche Nachricht- Von: Elvis Stansvik [mailto:elvis.stans...@orexplore.com] Gesendet: Mittwoch, 19. Juli 2017 16:51 An: David Cole <dlrd...@aol.com> Cc: Roman Wüger <roman.wue...@gmx.at>; CMake Mailin

Re: [cmake-developers] [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
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

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
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

[CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
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

[cmake-developers] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] C# Support and Embedded Resources

2017-05-09 Thread Roman Wüger
for the resource files using the source file > property VS_TOOL_OVERRIDE. > > This should work. > > Best regards, > Michael > > -Ursprüngliche Nachricht- > Von: cmake-developers [mailto:cmake-developers-boun...@cmake.org] Im Auftrag > von Roman Wüger &

Re: [CMake] CMake regexes: Case insensitive and whitespace matching

2017-05-08 Thread Roman Wüger
Hello Daniel, I tried it also in various ways, but I think the Regex in Cmake is very limited. What has worked for me was to use try_run and implement a simple c++ application which uses C++11's and accept one or two command line arguments (~ 15 lines of code). Hope it helps Regards Roman

[cmake-developers] C# Support and Embedded Resources

2017-05-08 Thread Roman Wüger
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

[CMake] C# Support and Embedded Resources

2017-05-08 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-25 Thread Roman Wüger
d > gcc being two cases where it does this. You may also find this article about > the related CMake variables and commands to be of interest. > >> On Fri, Nov 25, 2016 at 5:43 AM, Roman Wüger <roman.wue...@gmx.at> wrote: >> It is working now, after I a

Re: [CMake] [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Roman Wüger
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

Re: [cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Roman Wüger
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

[cmake-developers] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Roman Wüger
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

[CMake] C++11/C++14 doesn't work in check_cxx_source_compiles

2016-11-24 Thread Roman Wüger
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

Re: [cmake-developers] iwyu and clang-tidy not working under mac os

2016-10-26 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] iwyu and clang-tidy not working under mac os

2016-10-26 Thread Roman Wüger
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

[CMake] iwyu and clang-tidy not working under mac os

2016-10-26 Thread Roman Wüger
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

[cmake-developers] iwyu and clang-tidy not working under mac os

2016-10-26 Thread Roman Wüger
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

Re: [cmake-developers] Problems with icons for Windows Store 10.0

2016-10-05 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] Problems with icons for Windows Store 10.0

2016-10-05 Thread Roman Wüger
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

[CMake] Problems with icons for Windows Store 10.0

2016-10-05 Thread 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,

[cmake-developers] Problems with icons for Windows Store 10.0

2016-10-05 Thread 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,

[CMake] CPack [WiX] Customizations of individual features/components

2016-09-30 Thread Roman Wüger
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.

[cmake-developers] CPack [WiX] Customizations of individual features/components

2016-09-30 Thread Roman Wüger
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.

Re: [CMake] [cmake-developers] CPack [NSIS] Install directory per component

2016-09-23 Thread Roman Wüger
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

Re: [cmake-developers] CPack [NSIS] Install directory per component

2016-09-23 Thread Roman Wüger
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

Re: [cmake-developers] Security in CMake

2016-09-22 Thread Roman Wüger
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

[cmake-developers] CPack [NSIS] Install directory per component

2016-09-21 Thread Roman Wüger
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

[CMake] CPack [NSIS] Install directory per component

2016-09-21 Thread Roman Wüger
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

Re: [CMake] OSX Code Signing best practice

2016-07-14 Thread Roman Wüger
Is it possible to sign after your package is complete (copying resource files and so on)? I call a *.sh which is created from the CMake configure step which do the job. Best Regards Roman > Am 12.07.2016 um 18:49 schrieb Harry Mallon : > > Hello all, > > What is the

Re: [cmake-developers] [CMake] [iOS] What is the correct way to add resources to an XCode project

2016-06-29 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] [iOS] What is the correct way to add resources to an XCode project

2016-06-29 Thread Roman Wüger
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

[CMake] Patch for CM_OVERRIDE

2016-06-28 Thread Roman Wüger
Hello, I've attached a patch for the CM_OVERRIDE commit Best Regards Roman 0001-fixup-CM_OVERRIDE-Visual-Studio-2010-and-below-do-no.patch Description: Binary data -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [cmake-developers] [CMake] [iOS] What is the correct way to add resources to an XCode project

2016-06-28 Thread Roman Wüger
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

Re: [CMake] [iOS] What is the correct way to add resources to an XCode project

2016-06-28 Thread Roman Wüger
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

[CMake] [iOS] What is the correct way to add resources to an XCode project

2016-06-22 Thread Roman Wüger
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

[cmake-developers] [iOS] What is the correct way to add resources to an XCode project

2016-06-22 Thread Roman Wüger
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

[CMake] Problems when generating xcarchive from within Xcode

2016-06-13 Thread Roman Wüger
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

[cmake-developers] Problems when generating xcarchive from within Xcode

2016-06-13 Thread Roman Wüger
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

Re: [cmake-developers] Productbuild CPack generator

2016-06-05 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
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

Re: [cmake-developers] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
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

Re: [cmake-developers] [CMake] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
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

Re: [CMake] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
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

[CMake] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
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

[cmake-developers] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
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

[cmake-developers] Windows Phone 10.0 and Windows Phone 8.1 support

2016-05-20 Thread Roman Wüger
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

[CMake] Windows Phone 10.0 and Windows Phone 8.1 support

2016-05-20 Thread Roman Wüger
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

Re: [CMake] Debug vs Release "install" area

2016-05-13 Thread Roman Wüger
You could use conditional generator expressions e.g $ with a combination of add_custom_command stuff like "${CMAKE_COMMAND} -P yourscript.cmake " to handle the rest. Best Regards Roman > Am 12.05.2016 um 22:07 schrieb Scott Aron Bloom : > > Looking for some advice. > > In

Re: [CMake] CPack and PackageMaker

2016-05-12 Thread Roman Wüger
ways you think it needs. > > I have done minimal testing. This includes making sure CMake's test suite > passes with this generator. > And running those generated pkg files manually to test them. > > Perhaps after a couple reviews, we can start thinking about merging into > CMake

[CMake] CLang error when building iOS bundle

2016-05-11 Thread Roman Wüger
Hello list, I got the following error when linking the iOS bundle: clang: error: cannot specify -o when generating multiple output files I didn’t 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?

[cmake-developers] CLang error when building iOS bundle

2016-05-11 Thread Roman Wüger
Hello list, I got the following error when linking the iOS bundle: clang: error: cannot specify -o when generating multiple output files I didn’t 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?

Re: [cmake-developers] Patch for BundleUtilities to ignore specified files

2016-04-19 Thread Roman Wüger
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: >

Re: [CMake] Patch for BundleUtilities to ignore specified files

2016-04-19 Thread Roman Wüger
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: >

[CMake] Patch for BundleUtilities to ignore specified files

2016-04-18 Thread Roman Wüger
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:

[cmake-developers] Patch for BundleUtilities to ignore specified files

2016-04-18 Thread Roman Wüger
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:

Re: [CMake] [cmake-developers] CPack includes WINTRUST.DLL

2016-03-12 Thread Roman Wüger
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

Re: [cmake-developers] CPack includes WINTRUST.DLL

2016-03-12 Thread Roman Wüger
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

[cmake-developers] CPack includes WINTRUST.DLL

2016-03-10 Thread Roman Wüger
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

[CMake] CPack includes WINTRUST.DLL

2016-03-10 Thread Roman Wüger
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

Re: [CMake] Deploy Qt based App to WindowsStore using CMake

2016-03-03 Thread Roman Wüger
Do you have the developer mode under Windows 10 activated? Do you have registered your app (Add-AppxPackage -Register AppxManifest.xml)? See https://doc-snapshots.qt.io/qt5-5.6/winrt-support.html#building-from-source Best regards Roman > Am 03.03.2016 um 16:53 schrieb Nikita Barawade >

[cmake-developers] Unit Test App (Universal Windows)

2016-02-24 Thread Roman Wüger
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

Re: [cmake-developers] Run program/command before test

2016-02-17 Thread Roman Wüger
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

Re: [cmake-developers] Run program/command before test

2016-02-16 Thread Roman Wüger
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

[cmake-developers] Run program/command before test

2016-02-16 Thread Roman Wüger
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

[cmake-developers] CMake Windows 10 Store App

2016-02-11 Thread Roman Wüger
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

Re: [cmake-developers] CMake can't generate Windows 10 store app with VS2015 Update 1

2016-02-05 Thread Roman Wüger
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...@

[cmake-developers] CMake can't generate Windows 10 store app with VS2015 Update 1

2016-02-05 Thread Roman Wüger
Hello, I’ve 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

Re: [CMake] CPack and PackageMaker

2016-02-02 Thread Roman Wüger
@Brad, @Clinton: Could we add this feature into CMake 3.5.0, because on newer Mac OS systems the package maker is already deprecated and for those we could use the productbuild instead. Thanks in advance Best Regards Roman > Am 22.12.2015 um 07:56 schrieb Roman Wüger <roman.wue...@

Re: [CMake] How to include config.h.in in VS project

2015-12-31 Thread Roman Wüger
Hi, You must add those sources to add_executable/add_library as well. Wish you a happy new year. Best regards Roman > Am 29.12.2015 um 09:53 schrieb Mauro Ziliani : > > Hi all. > I'm using CMake 3.4.1 for my projects. > I'm working with Visual studio 10 2010

Re: [CMake] CPack and PackageMaker

2015-12-21 Thread Roman Wüger
Is there anything I can do to support? Best regards > Am 11.12.2015 um 20:17 schrieb robert.bielik : > > Dear Clint, > > Thank you! Will certainly start with that as a base :) > > Regards > /R > > -- Ursprungligt meddelande-- > Från: > Datum: fre, 11 dec

Re: [CMake] C++11 flag not being added

2015-10-16 Thread Roman Wüger
You can use CMake 3.x on older systems. Write platform checks for specific C++11 features and implement "old" style code if the C++11 features (e.g. lambdas) are not available. Use https://cmake.org/cmake/help/v3.1/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html and

Re: [CMake] C++11 flag not being added

2015-10-16 Thread Roman Wüger
Hi Petr, you can download CMake from https://cmake.org/download/. There are also prebuilt binaries available. We use the *.sh files to install CMake on our linux servers. .) Install CMake to /opt/cmake-3.4.2. .) Create a symlink to /opt/cmake .) Create another symlink from the /opt/cmake/bin/*

Re: [cmake-developers] Xcode build settings and BullseyeCoverage

2015-10-11 Thread Roman Wüger
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ü

Re: [CMake] [cmake-developers] Xcode build settings and BullseyeCoverage

2015-10-11 Thread Roman Wüger
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ü

[CMake] Xcode build settings and BullseyeCoverage

2015-10-09 Thread Roman Wüger
Hello, I’m 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

[cmake-developers] Xcode build settings and BullseyeCoverage

2015-10-09 Thread Roman Wüger
Hello, I’m 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

Re: [cmake-developers] Rename suffix of Mac OS Framework

2015-10-07 Thread Roman Wüger
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

Re: [CMake] [cmake-developers] Rename suffix of Mac OS Framework

2015-10-07 Thread Roman Wüger
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

  1   2   >