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
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
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
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
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,
>
>
(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
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
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
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
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
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
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
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
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
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
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
.
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
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
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,
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
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
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
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
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
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
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
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
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
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
> 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
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
-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
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
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
. 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
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
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
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")
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
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
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
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
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
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
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.
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
"_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
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
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
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.
>
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
?
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
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
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
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
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
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
@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
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
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
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
/* 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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
/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
_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
@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
>
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
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 ${
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}
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
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'
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(
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
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
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
>
> 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
> 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
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
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
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
--
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 = fals
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:
>>> [
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
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
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
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
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 - 100 of 127 matches
Mail list logo