[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
Roman -- Powered by kitware.com/cmake Kitware offers various services to support the CMake community. For more information on each offering, please visit https://cmake.org/services Visit other Kitware open-source projects at https://www.kitware.com/platforms Follow this link to subscribe

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] productbuild: Installing to absolute system path or to user home path

2019-10-28 Thread Roman Wüger
(DIRECTORY $/${CMAKE_PROJECT_NAME}.lrplugin DESTINATION ~/Library/Application\ Support/Adobe/Lightroom/Modules) 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] include_directories SYSTEM and they propagation to target

2019-07-30 Thread Roman Savchenko
ulated to INTERFACE_SYSTEM_INCLUDE_DIRECTORIES ? 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 community. For more information on each offerin

[CMake] XCode target membership

2019-03-14 Thread Roman Wüger
check mark (or it is an automated build), then no app icon will be set. Thanks in advance 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 community. For

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 Android p

[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 off

[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 -- Powe

Re: [CMake] Get compiler command line (or json compilation database) for a target

2018-07-31 Thread Roman Popov
In general I don't understand why CMake provides a separate integration for each tool (_CLANG_TIDY _COMPILER_LAUNCHER _CPPCHECK _CPPLINT _INCLUDE_WHAT_YOU_USE), But a generic solution is not provided (or not documented clearly? ) вт, 31 июл. 2018 г. в 9:47, Roman Popov : > Afte

Re: [CMake] Get compiler command line (or json compilation database) for a target

2018-07-31 Thread Roman Popov
And I want to run it as a separate build target. https://stackoverflow.com/questions/51618307/how-to-run-clang-based-tool-as-a-separate-cmake-target пн, 30 июл. 2018 г. в 0:12, Roman Popov : > Hi all, > > How can I get a full compiler command line for a given target in > CMakeLists

[CMake] Get compiler command line (or json compilation database) for a target

2018-07-30 Thread Roman Popov
. Do you have any ideas? 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 services to support the CMake community. For more information on each offering, please visit: CMake Su

Re: [CMake] Path to vc_redist

2017-09-05 Thread Roman Wüger
th ${_path}/1033ABSOLUTE) set(REDIST_FILE ${_path}/${REDIST_FILE}) endif() install(PROGRAMS ${_path}/${REDIST_FILE}) endif() endif() Regards Roman > Am 04.09.2017 um 15:20 schrieb Robert Maynard : > > You can use the InstallRequiredSystemLibraries to do th

[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] 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
tall.cmake:37 (include) /home/rowu/MyPackage/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] Gesen

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 Cc: Roman Wüger ; CMake MailingList Betreff: Re: [CMake] CPack install 3rd party

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

2017-07-19 Thread Roman Wüger
gards Roman > Am 19.07.2017 um 12:40 schrieb Elvis Stansvik : > > 2017-07-19 10:24 GMT+02:00 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 librar

[CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
the links for the shared libraries? E.g.: libboost_filesystem.so -> libboost_filesystem.so.1.48.0 libboost_filesystem.so.1.48.0 Thanks in advance 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

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

2017-05-09 Thread Roman Wüger
Thank you, The following seems to work: set_property(SOURCE TextFile1.txt PROPERTY VS_TOOL_OVERRIDE "EmbeddedResource") Regards Roman > Am 09.05.2017 um 12:34 schrieb Stuermer, Michael SP/HZA-ZSEP > : > > Set the appropriate tool for the resource files using the s

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

[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
s 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 wrote: >> It is working now, after I added -lc++ to CMAKE_REQUIRED_LIBRARIES before >> the check_cxx_s

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 : > > Hello, > > If I use a small piece of code

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

2016-11-24 Thread Roman Wüger
> in src.o "vtable for std::__1::__shared_count", referenced from: std::__1::shared_ptr >::shared_ptr >(std::__1::__empty_state*, std::__1::enable_if*, std::__1::__empty_state*>::value, std::__1::shared_ptr >::__nat>::type) in src.o NOTE: a missing vtable usua

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

2016-10-26 Thread Roman Wüger
g-tidy: 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 : > >> On Wed, O

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

2016-10-26 Thread Roman Wüger
-tidy installed from homebrew. Any hints? Thanks in advance 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 services to support the CMake community. For more information on

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

2016-10-05 Thread Roman Wüger
Thanks Gilles, I added a custom appxmanifest as you mentioned and it works, but it would nevertheless very helpful to customize such things via variables and let CMake fill out the rest. Regards Roman > Am 05.10.2016 um 21:19 schrieb Gilles Khouzam : > > That's most likely

[CMake] Problems with icons for Windows Store 10.0

2016-10-05 Thread Roman Wüger
ctory, which are empty. So, how could I use my icon files and/or what is the preferred way of doing this? Thanks in advance 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 ser

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

2016-09-29 Thread Roman Wüger
. Maybe it is possible to do so with it, but if so how? Thanks in advance 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 community. For more information

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

[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

[CMake] Toolchain rpath libraries

2016-09-09 Thread Roman Savchenko
Dear all, I created toolchain file: set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSROOT "/srv/chroots/centos6-amd64") set(CMAKE_C_FLAGS "-gcc-name=${CMAKE_SYSROOT}/usr/bin/gcc -L${CMAKE_SYSROOT}/usr/lib64") set(CMAKE_CXX_FLAGS "-gxx-name=${CMAKE_SYSROOT}/usr/bin/g++ -L${CMAKE_SYSROOT}/usr/lib64")

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 current be

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 : > >> On Tue, Jun 28, 2016 at 23:01:56 +0200, Roman Wüge

[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/CMak

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 : > > 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

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

2016-06-22 Thread Roman Wüger
ode. When I manually drag'n drop the directories into the Resource folder as reference or as group everything is working. How can I archive this with CMake? Thanks and regards Roman -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www

[CMake] Problems when generating xcarchive from within Xcode

2016-06-13 Thread Roman Wüger
ves/YYY-MM-DD/*.xcarchive For example the Info.plist is not the same as in the Release folder, subfolders and some files are not copied/created. Did I need something special for this (the archive)? Thanks Roman -- Powered by www.kitware.com Please keep messages on-topic and check the CMake

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 : > >> 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 with >> the same result.

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 : > > Hello, > > when I run qmllint from the command line

[CMake] Empty ERROR_VARIABLE in execute_process

2016-05-23 Thread Roman Wüger
"_outVar: ${_outVar}") message("_errVar: ${_errVar}") The output is: 1> _resVar: -1 1> _outVar: 1> _errVar: It seems that the error pipe isn’t read correctly, because _errVar is empty. And hints? Regards Roman -- Powered by www.kitware.com Please keep mes

[CMake] CMake custom link executable command, how to extract linker options?

2016-05-21 Thread Roman
her with libraries are in . And is empty. Why it works this way? And how can I extract linker flags from LINK_LIBRARIES? I've posted same question on stackoverflow: http://stackoverflow.com/questions/37368434/cmake-custom-link-executable-command-how-to-extract-linker-options -- Best

[CMake] Windows Phone 10.0 and Windows Phone 8.1 support

2016-05-19 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. >

Re: [CMake] CPack and PackageMaker

2016-05-12 Thread Roman Wüger
I think it is ok for the most of the use cases. But what I miss are the signing options: e.g: productbuild --component "FULLPATH_TO_OUTPUTDIR" /Applications --sign "DEVELOPER_CERTIFICATE" --product ".../Info.plist" MyPackage.pkg Best regards Roman > Am

[CMake] CLang error when building iOS bundle

2016-05-11 Thread Roman Wüger
? Thank you very much in advance Best Regards Roman P.S.: Here is the last output: CompileC /Users/nbuild/workspace/BuildSlave/jenkins/workspace/SimpleiPhoneApp-macos-i OS-debug/build/appQml/SimpleApp.build/Debug-iphoneos/SimpleApp.build/Objects -normal/armv7/main.o appQml/main.cpp

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

2016-04-18 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 : > >> On 04/18/2016 10:20 AM, Roman Wüger wrote: >> attached is a patch with

[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

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 : > >> On 03/11/2016 02:41 AM, Roman Wüger wrote: >> i noticed that CPack includes the WINTRUST.dll when I >> generate an NSIS installer. >> How can I avoid t

[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 everything

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 Baraw

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 : > > Is there

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 express

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 2015 20:12 > Till: Robert

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 https://cmake.org/cmake/help/v3.1/mo

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

2015-10-16 Thread Roman Wüger
/* to /usr/bin With this solution you only need to update the first symlink if you want to upgrade/downgrade a CMake version. Best Regards Roman > Am 16.10.2015 um 10:58 schrieb Petr Bena : > > If I did that nearly nobody would be able to compile my program as > cmake >= 3.1 is ex

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 : > > Hello, > >> On 09/10/15 17:51, Roman Wüger wrote: >> I’m trying

[CMake] Xcode build settings and BullseyeCoverage

2015-10-09 Thread Roman Wüger
e with the build command: “cmake -build . -- PLATFORM_DEVELOPER_BIN_DIR=PointToSomething” which sets the build settings for Xcode Thanks in advance Best Regards Roman -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMa

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

2015-10-07 Thread Roman Wüger
PPER_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 : > >> On 10/01/2015 04:07 AM, Roman Wüger wrote:

Re: [CMake] Removing duplicate entries from CXXFLAGS

2015-10-06 Thread Roman Bolshakov
CMake performs deduplication of per-target flags for sure. However I'm not sure if CMAKE_CXX_FLAGS is deduplicated. But I consider this variable as global flags for the whole project which is defined at topmost CMakeLists.txt. If you need to specify some flags specifically for a target use t

[CMake] Rename suffix of Mac OS Framework

2015-10-01 Thread Roman Wüger
to rename the suffix ".framework"? Thanks in advance 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 services to support the CMake community. For more information on each

Re: [CMake] New to cmake and I have a problem.

2015-09-07 Thread Roman Bolshakov
Hi Jay,  Have you tried something like this (http://www.cmake.org/pipermail/cmake/2010-July/038312.html)? — Отправлено из Mailbox On Fri, Sep 4, 2015 at 9:37 PM, Jay Cotton wrote: > Hi: > I need to add an 'S' to the ar flags. Now, I have found that I can edit > the link.txt file but, > th

[CMake] Issue: 12592 New componentwise extra install commands for NSIS-generator

2015-08-20 Thread Roman Wüger
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: http

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Roman Wüger
on top of the check_cxx_source_compiles() calls and everthing is working as expected. So, in my situation the order is: 1.) CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT 2.) check_cxx_source_compiles() and other platform checks 3.) add_subdirectory() and other stuff Best Reg

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Roman Wüger
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 : > >> On 07/27/2015 03:26 PM, Roman Wüger wrote: &g

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-27 Thread Roman Wüger
tx; // mutex for critical section void print_block (int n, char c) { // critical section (exclusive access to std::cout signaled by lifetime of lck): std::unique_lock lck (mtx); for (int i=0; i, but check_cxx_source_compiles succeeds. Did I miss configure some

[CMake] check_cxx_source_compiles and include directories

2015-07-26 Thread Roman Wüger
tions and these are equal. So I thought that the include directories could be the problem. Any hints? 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 services to support the

Re: [CMake] CTest threshold exceeds 1024 bytes

2015-07-23 Thread Roman Wüger
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, Roma

Re: [CMake] CTest threshold exceeds 1024 bytes

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

[CMake] CTest threshold exceeds 1024 bytes

2015-07-21 Thread Roman Wüger
s and not failures. I have the output on CDash and on Jenkins. Here is the command which I call: "ctest -C Release --output-on-failure --no-compress-output -T test" Is there a way to get the full output without modifying every CMake Script of about ~ 35 projects? Thanks in advance

Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions

2015-07-05 Thread Roman Wüger
/CMAKE_CXX_STANDARD_REQUIRED.ht ml Best Regards Roman Von: CMake [mailto:cmake-boun...@cmake.org] Im Auftrag von Michael Jackson Gesendet: Sonntag, 05. Juli 2015 18:07 An: cmake@cmake.org Betreff: Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions Is there a project wide CXX_STANDARD_REQUIRED that

Re: [CMake] [cmake-developers] Problems when creating config files and add_dependencies

2015-06-20 Thread Roman Wüger
_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 : > >> On 06/12/2015 07:19 AM, Roman Wüger wrot

Re: [CMake] [cmake-developers] Virtual folders in Visual studio get expanded on reload

2015-06-12 Thread Roman Wüger
@kgt: Thank you for this great hint. :-) I had overlooked this button in Visual Studio @mjklaim: I didn't see this behavior in older CMake versions. Roman > -Ursprüngliche Nachricht- > Von: Thompson, KT [mailto:k...@lanl.gov] > Gesendet: Dienstag, 02. Juni 2015 15:52 >

[CMake] Problems when creating config files and add_dependencies

2015-06-12 Thread Roman Wüger
ar *const AbsoluteTestFilesPath = "@ABSOLUTE_FILEPATH@"; const wchar_t *const UnitTestNameW= L"@UNITTESTNAME@"; const wchar_t *const RelativeTestFilesPathW = L"@RELATIVE_FILEPATH@"; const wchar_t *const AbsoluteTestFilesPathW = L"@ABSOLUTE_FILEPATH

[CMake] add_custom_command and variable arguments

2015-06-09 Thread Roman Savchenko
HI All, I whant to add custom command in such way: add_custom_target(my_target) add_custom_command(TARGET my_target POST_BUILD COMMAND script ${LIST}) set(LIST "") function(add_to_target source) add_executable(source ${source}) add_dependency(my_target ${source}) list(APPEND LIST ${

[CMake] CTest and grouped test with custom_target

2015-06-09 Thread Roman Savchenko
Hi all, I whant create goups of test and add them to custom targets, e.g. //unit test add_custom_target(check-unit "COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure") add_test_to_target(check-unit ${TEST1}) //integration tests add_custom_target(check-integration "COMMAND ${CMAKE_CTEST_COMMAND}

[CMake] Virtual folders in Visual studio get expanded on reload

2015-06-01 Thread Roman Wüger
Did anybody noticed this behavior and has a solution for it? Thanks 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 services to support the CMake community. For more inform

[CMake] CMake 3.2.2 generates too many virtual folders for Codeblocks project

2015-06-01 Thread c roman
Hi, i have a project in the path D:\folder1\folder2\prj1, all sources and CMakeLists.txt are in this folder 'prj1'. CMake generates for the Codeblocks project file in which the source files are located in a virtual folders with the path not corresponding to the root folder of the project 'prj1'

Re: [CMake] [cmake-developers] Identify used source files

2015-04-28 Thread Roman Wüger
ND ${FilenameUsedFiles} "${file}\n") endif() endif() endforeach() endfunction(parseArguments) function(add_library name) parseArguments(${ARGN}) _add_library(${name} ${ARGN}) endfunction() function(add_executable name) parseArguments(${ARGN}) _add_executable(

[CMake] Identify used source files

2015-04-27 Thread Roman Wüger
were a better way. Did anybody know a better way? Maybe CMake has a way to get a list of used files? The reason is to clean a big old source tree. Thanks in advance Best regards Roman -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

[CMake] CMake 3.2.2 generates too many virtual folders for Codeblocks project

2015-04-23 Thread roman
Hi, i have a project in the path D:\folder1\folder2\prj1, all sources and CMakeLists.txt are in this folder 'prj1'. CMake generates for the Codeblocks project file in which the source files are located in a virtual folders with the path not corresponding to the root folder of the project 'prj1

Re: [CMake] List all binaries associated with a target.

2015-03-22 Thread Roman Bolshakov
2015-03-16 23:22 GMT+03:00 Klaim - Joël Lamotte : > Then you can invoke top-level cmake_install.cmake to install a subset >> of your project: >> DESTDIR=/destination/install/path cmake -DCOMPONENT=A -P >> cmake_install.cmake >> >> > It is not clear to me how all this would help installing automati

Re: [CMake] List all binaries associated with a target.

2015-03-22 Thread Roman Bolshakov
> > Unfortunately, if my understanding is correct, > this code cannot work with external dependencies as they are not targets. It should work with external dependencies which are imported targets. You just need to check IMPORTED property is True and then you can extract precise location from IMPO

Re: [CMake] List all binaries associated with a target.

2015-03-16 Thread Roman Bolshakov
> I'm not totally sure install() does exactly what I need. > My use case is that I need to debug each executable in an installed-like > context (with data), which imply that each time it is compiled it should be > installed too. > Actually 2 and 3 are the same, I just put the files in a specific p

Re: [CMake] Problems with WriteCompilerDetectionHeader and cxx_nullptr

2015-03-16 Thread Roman Wüger
Hi Brad, attached is an updated patch. Roman From ea75cb1a3d866d923b6711c9e0c0bbf1f66d7dbf Mon Sep 17 00:00:00 2001 From: Roman Wüger Date: Fri, 13 Mar 2015 09:18:19 +0100 Subject: [PATCH] WCDH: Fix cxx_nullptr for compilers which doesn't support C++11 --- Mo

Re: [CMake] List all binaries associated with a target.

2015-03-14 Thread Roman Bolshakov
reate custom commands which use content of the generated file. I don't get what exactly you're trying to achieve in 3. In general I wouldn't encourage to copy binaries during build phase unless you have a very solid reason. FWIW there's install(TARGET) command for installation a

[CMake] Problems with WriteCompilerDetectionHeader and cxx_nullptr

2015-03-12 Thread Roman Wüger
Hello, I've attached a patch for this problem. Best Regards From 3b77b957a41ce00c8e5d8d47ce442887181d669d Mon Sep 17 00:00:00 2001 From: Roman Wüger Date: Thu, 12 Mar 2015 11:51:24 +0100 Subject: [PATCH] WCDH: Fix cxx_nullptr for compilers which doesn't support C++11 --

[CMake] Problems with WriteCompilerDetectionHeader and cxx_nullptr

2015-03-11 Thread Roman Wüger
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 doesn’t support C++11. void doSomething(int n, bool *ok = 0) { if (ok) *ok = true; if (n != 0) { if (ok) *ok = fals

Re: [CMake] Wrong behavior with 3.2.0-rc2

2015-03-09 Thread Roman Wüger
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 : > >> On 03/06/2015 06:57 AM, Nils Gladitz wrote: >>> On 03/06/2015 10:22 AM, Pere Mato Vila wrote: >>> [

Re: [CMake] Are CMAKE_CXX_FLAGS supposed to go on the link line?

2015-03-02 Thread Roman Bolshakov
Apparently, command line to link executable is quite different from a shared library (Modules/CMakeCXXInformation.cmake): if(NOT CMAKE_CXX_LINK_EXECUTABLE) set(CMAKE_CXX_LINK_EXECUTABLE " -o ") endif() set(CMAKE_CXX_CREATE_SHARED_LIBRARY " -o ") CMAKE_CXX_FLAGS/CMAKE

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Roman Wüger
Thank you very much > Am 25.02.2015 um 15:12 schrieb Robert Maynard : > > Hi Roman, > > We do attach the short-log of all changes made between each RC version > to the bottom of the annoucement. But here are the changes plus the > git SHA1's for each ( produce

Re: [CMake] [cmake-developers] [ANNOUNCE] CMake 3.2.0-rc2 now ready for testing!

2015-02-25 Thread Roman Wüger
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 : > > I am proud to announce the CMake 3.2 second release candidate. > > Sources and binaries are availa

Re: [CMake] cmake shared library exported symbols on 64bit AIX XLC compiler

2015-02-23 Thread Roman Bolshakov
L.cmake and then add -X32/-X64 into CMAKE_XL_CreateExportLists_FLAGS in your CMakeLists.txt 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 community. For more

Re: [CMake] CheckIncludeFiles doesn't find header files

2015-02-21 Thread Roman Wüger
Hi, I think I found additional strange behaviors. Here are some informations from my systems, the strange behavior is on both systems: System A: Mac OS 10.10.1 CMake 3.0.2 Qt 4.8.4 Bullseye Coverage 8.9.41 System B: Mac OS 10.6.8 CMake 3.0.2 Qt 4.8.4 Bullseye Coverage 8.9.4

  1   2   >