[CMake] depend.make

2013-12-11 Thread Lars
This test has been performed on Windows 7 SP1 (64bit) and using CMake 2.8.12.1 and VS2005 SP1. Here is the source code used (which does not use the Boost library). #include iostream int main(int argc, char **argv) { std::cout Hello world std::endl; return 0; } Here is the

Re: [CMake] depend.make

2013-12-12 Thread Lars
in the depend.make? Regards, Lars Date: Wed, 11 Dec 2013 16:08:28 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] depend.make On 11.12.2013 12:53, Lars wrote: Here is the source code used (which does

Re: [CMake] depend.make

2013-12-12 Thread Lars
in this case. Regards, Lars From: marco.clemen...@cern.ch To: cmake@cmake.org CC: laasu...@hotmail.com; nilsglad...@gmail.com Subject: Re: [CMake] depend.make Date: Thu, 12 Dec 2013 12:03:06 +0100 Hi, I cannot find it anymore in the documentation , but I remember to have read

Re: [CMake] depend.make

2013-12-12 Thread Lars
the same thing (this is in 2009). Can anyone confirm this is still the case? How can we filter out boost from depend.make? Using include_regular_expression only allows files filtering and that does not really help in this case. Regards, Lars From: marco.clemen...@cern.ch To: cmake@cmake.org

Re: [CMake] depend.make

2013-12-12 Thread Lars
files. I am guessing a huge depent.make file would affect at least dependency scanning. Obviously I do not know how much this affect performance. Will take a look at ninja. Any other suggestions? Regards,Lars Date: Thu, 12 Dec 2013 11:14:29 -0500 From: bill.hoff...@kitware.com To: cmake@cmake.org

Re: [CMake] depend.make

2013-12-13 Thread Lars
). Regards, Lars Date: Thu, 12 Dec 2013 14:23:53 -0500 From: bill.hoff...@kitware.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] depend.make On 12/12/2013 1:07 PM, Lars wrote: Building our software using CMake and VS2005 on Windows platform is very slow. Debugging

Re: [CMake] depend.make

2013-12-16 Thread Lars
That sounds like a decent solution from my point of view. I will create an issue for this topic. Regards, Lars Date: Fri, 13 Dec 2013 10:53:49 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; bill.hoff...@kitware.com; cmake@cmake.org Subject: Re: [CMake] depend.make

[CMake] cmake release and process

2014-02-12 Thread Lars
trying to understand. kind regards, Lars -- 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

[CMake] CPack installation directory

2014-02-28 Thread Lars
by default install files to c:\tbd ? kind regards, Lars -- 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

Re: [CMake] CPack installation directory

2014-03-04 Thread Lars
of solution. However we then lose the ability to remove these files on uninstall. We also feel this is mixing application development with deployment. regards, Lars -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

[CMake] ADD_CUSTOM_COMMAND Application dependency

2014-11-19 Thread Lars
The below example build App and copies it to EXECUTABLE_OUTPUT_PATH. ADD_EXECUTABLE(App ${source}) TARGET_LINK_LIBRARIES(App ${lib1} ${lib2}) INSTALL(TARGETS App ..) The top level CMakeLists.txt has install directives for lib1 and lib2 INSTALL(FILES ${lib1}/bin/lib1.dll DESTINATION ...)

Re: [CMake] ADD_CUSTOM_COMMAND Application dependency

2014-11-19 Thread Lars
set the working_directory to the path of lib1 and use the absolute path of the App for the command. That would probably work but not with multiple dependencies. Your second example might do the job but wont be accepted as a solution in our company. regards, Lars Date: Wed, 19 Nov 2014 14:10:07

Re: [CMake] ADD_CUSTOM_COMMAND Application dependency

2014-11-19 Thread Lars
Hello again, There can only be one working directory and the two lib's are located in different dirs. regards, Lars Date: Wed, 19 Nov 2014 19:21:54 +0100 Subject: Re: [CMake] ADD_CUSTOM_COMMAND Application dependency From: angeliki.chrysoc...@gmail.com To: laasu...@hotmail.com CC: cmake

[CMake] Target_link_libraries imported library

2015-05-13 Thread Lars
Hello, We have an internal software product foo which is exported. A typical component: add_library(foo_library SHARED ...) target_link_libraries(foo_library foo_common foo_comp ${Boost_LIBRARIES}) When building the exported package a file name FooDepends-release.cmake is produced

Re: [CMake] Install targets and component

2015-08-11 Thread Lars
Thank you Nils, that solved the issue. Cannot believe I missed that in the documentation. Regards, Lars Date: Tue, 11 Aug 2015 09:41:22 +0200 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] Install targets and component On 08/11/2015 09:05 AM

[CMake] Install targets and component

2015-08-11 Thread Lars
the target is associated with COMP_APP as expected. LIBRARY DESTINATION ${LIB_PATH} We are now using CMake 3.3. This worked great with CMake 2.8.12. Any ideas? kind regards, Lars -- Powered by www.kitware.com Please keep messages on-topic

[CMake] cmake.exe build type from cmd

2015-10-21 Thread Lars
Hello, Using CMake 3.3 on Windows 7 platform with VS2012. To build software I run; cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "Visual Studio 11" /path/to/source msbuild /m /p:Configuration=RelWithDebInfo INSTALL.wcxproj To help developers I would like to create a couple of scripts. Does

[CMake] VS2015 and toolset v110

2016-06-21 Thread Lars
The second example using v140 actually also fails but that is because it is trying to find boost_math_c99_v140 library which does not exists (we use v110 library). (and no, I cannot change toolset at the moment) Kind regards, Lars -- Powered by www

[CMake] add_custom_command scope

2016-01-19 Thread Lars
looks like this; ADD_CUSTOM_COMMAND( TARGET app POST_BUILD COMMAND tbd.exe) Appreciate any input. Kind regards, Lars -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offe

[CMake] cmake env - no command given

2016-02-08 Thread Lars
"PATH=C:\temp" calc "C:\Program Files (x86)\CMake\bin\cmake.exe" -E env "PATH=C:\temp\" calc regards, Lars -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.o

Re: [CMake] include_external_msproject

2016-01-28 Thread Lars
urations "Debug", "RelWithDebInfo" and "Release" and Platform "x86" is a workaround. Obviously it would be ideal if this could be controlled using cmake. Appreciate any input. Regards, Lars > From: iosif.neitzke+cm...@gmail.com > Date: Tue, 26 Jan 20

[CMake] include_external_msproject

2016-01-26 Thread Lars
Appreciate some help understanding include_external_msproject. Using Windows 7 and cmake 3.3 This is what has been done so far, 1. Opened Visual Studio 2012 and created a new project (Windows Forms Application) and saved it under c:\temp\test. 2. Used the following to an cmake;

[CMake] CMake install imported target using WIX

2017-02-21 Thread Lars
Hello, We are using the "config" mode of Find_Package that locates CompConfig.cmake which create IMPORTED targets. CMakeLists.txt Find_Package(some_comp ${some_comp_path}) CompConfig.cmake; add_executable(app IMPORTED) add_library(lib SHARED IMPORTED) This works fine and once I read

[CMake] install common resource files

2017-06-12 Thread Lars
in multiple files. Any other options? Regards, Lars -- 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

[CMake] CMAke install files using cmake-generator-expression

2018-01-15 Thread Lars
erator-expression work just not using compiler as key. What does binary target mean in this context? Why does this fail? Kind regards, Lars -- 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 serv

[CMake] find_package config and install

2019-01-21 Thread Lars
this task? Qt 5.11 support config mode but does not perform any install. Does anyone know why? We are using CMake 3.13.2 kind regards, Lars -- 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 variou

Re: [CMake] find_package config and install

2019-01-22 Thread Lars
(..) command so that the necessary Qt5 targets are included in the installer (MSI and RPM). We cannot require the customer to install a 2GB Qt5 installer for a few libraries. In that context it is unclear who\when\how should perform the installation. kind regards, Lars

Re: [CMake] find_package config and install

2019-01-22 Thread Lars
are welcome  kind regards, Lars Fra: Alan W. Irwin Sendt: onsdag 23. januar 2019 04.14 Til: Lars Kopi: cmake@cmake.org Emne: Re: Sv: [CMake] find_package config and install Hi Lars: On 2019-01-22 12:05- Lars wrote: > Alan, > > > Thank y

[CMake] set_property imported_location_release

2018-12-21 Thread Lars
generator expression in this context? What are we doing wrong? Appreciate any help :-) king regards, Lars -- 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 communit

Re: [CMake] set_property imported_location_release

2018-12-21 Thread Lars
Marc, Appreciate the quick and helpful response. In a config file that supports multiple platforms, do I need to create import_location_path variable and populate it depending on platform and 32/64 etc? Any other options? Thanks. Kind regards, Lars Fra: Marc

Re: [CMake] set_property imported_location_release

2018-12-21 Thread Lars
That is what I thought. Thank you. Fra: Marc CHEVRIER Sendt: fredag 21. desember 2018 15.46.18 Til: cmake@cmake.org; Lars Emne: Re: Sv: [CMake] set_property imported_location_release Yes, the most efficient way is using conditional setting. For example

Re: [CMake] install files generator expression

2019-01-09 Thread Lars
Petr, That worked nicely. Cheers  regards, Lars Fra: Petr Kmoch Sendt: onsdag 9. januar 2019 16.11 Til: Lars Kopi: cmake@cmake.org Emne: Re: [CMake] install files generator expression Hi Lars. The DESTINATION parameter of install() accepts only a single

[CMake] install files generator expression

2019-01-09 Thread Lars
LES ${qt5_locations} DESTINATION $<$:bin> $<$:lib> COMPONENT runtime) Appreicate any input. kind regards, Lars -- 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

[CMake] find_package components required or not

2013-08-15 Thread Lars Lars
option if no REQUIRED option is given. When using find_package and the REQUIRED keyword, are all components required? When using find_package and the COMPONENTS keywords, are all components required? It would be nice if the docs could state this information. regards, Lars

[CMake] Support for custom wix template

2013-08-26 Thread Lars Lars
for version 2.8.12. That is obviously not going to happen. What is the current release date? Thank you. Regards, Lars -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware

Re: [CMake] Support for custom wix template

2013-08-26 Thread Lars Lars
Date: Mon, 26 Aug 2013 13:29:22 +0200 Subject: Re: [CMake] Support for custom wix template From: eric.noul...@gmail.com To: laasu...@hotmail.com CC: cmake@cmake.org 2013/8/26 Lars Lars laasu...@hotmail.com: Hello, I would like to know if the feature CPackWIX: Add support for custom

[CMake] find_package and install

2013-08-29 Thread Lars Lars
Hello, I have the following configuration; FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore) IF (Qt4_FOUND) INCLUDE(${QT_USE_FILE}) MESSAGE(STATUS QT_LIBRARIES:${QT_LIBRARIES}) ENDIF() # setup header and source files ADD_EXECUTABLE(TBD ${_SOURCES} ${_HEADERS})

[CMake] cpack component

2013-09-02 Thread Lars Lars
Hello, We are using CPack (WIX generator) to create an installer. This works fine but with one slight problem that the installer contains a component that I did not expect. The main CMakeList.txt file includes; SET(CPACK_COMPONENTS_ALL RUNTIME) In a sub CMakeList.txt file I have the following

[CMake] find_package

2013-09-05 Thread Lars Lars
Using Latest version of CMake on Windows 7 and Redhat 6 Running the below code on both platforms produce slightly different content in QT_LIBRARIES. FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui) IF (QT4_FOUND) MESSAGE(STATUS QT_LIBRARIES: ${QT_LIBRARIES} ENDIF() On Windows I get;

[CMake] CPack, Wix using util:XmlFile

2013-11-08 Thread Lars Lars
to add this option to the existing version of cmake\cpack? Does Cmake provide any utility to modify an xml file? Regards, Lars -- 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] CPack, Wix using util:XmlFile

2013-11-11 Thread Lars Lars
Date: Sun, 10 Nov 2013 21:20:47 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] CPack, Wix using util:XmlFile On 10.11.2013 17:46, Lars Lars wrote: Just a follow up question

[CMake] Qt4 QT_INSTALL_LIBS

2013-11-14 Thread Lars Lars
querying qmake for the the location of the libs? Regards, Lars -- 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

[CMake] CPack install dirs pr component

2013-11-18 Thread Lars Lars
How can I specify different install dir prefix for two components using CPack and Wix generator? The current setup installs runtime files to C:\Program Files\MyCompany\bin and data to C:\Program Files\MyCompany\data. We would like to place the data files in for instance c:\data. The setup has

[CMake] Xml modification

2013-11-18 Thread Lars Lars
Does cmake support xml modification? We would like to update a number of xml configuration files with for instance version information. This information is only available at build time. -- Powered by www.kitware.com Please keep messages on-topic and

Re: [CMake] Xml modification

2013-11-18 Thread Lars Lars
Date: Mon, 18 Nov 2013 10:27:26 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] Xml modification On 11/18/2013 09:58 AM, Lars Lars wrote: Does cmake support xml modification? We would like

Re: [CMake] CPack install dirs pr component

2013-11-18 Thread Lars Lars
Date: Mon, 18 Nov 2013 10:21:57 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] CPack install dirs pr component On 11/18/2013 09:48 AM, Lars Lars wrote: How can I specify different install dir

[CMake] command line too long when compiling CUDA code with WindowsSDK7.1_64bit

2013-11-22 Thread Lars Friedrich Lars
to control (manipulate?) the generated includes in this call by invoking the one other cmake macro? Is there some other workaround besides from placing the source code of the dependent libs in folds such C:a a.s.o. in order to get the resultant string shorter? Thanks. Lars

Re: [CMake] command line too long when compiling CUDA code with WindowsSDK7.1_64bit

2013-11-22 Thread Lars Friedrich Lars
Hi Cory, works like a charm! (also without resetting COMPILE_DEFINITIONS) Thanks a lot! Lars Gesendet:Freitag, 22. November 2013 um 14:11 Uhr Von:Cory Quammen cory.quam...@kitware.com An:Lars Friedrich Lars lars-friedr...@gmx.net Cc:cmake@cmake.org Betreff:Re: [CMake] command line

[CMake] Remove a library from linking which was added with target_link_libraries

2011-08-24 Thread Lars Bilke
? Thanks, Lars. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link

[CMake] Custom target/command dependencies with Visual Studio

2012-02-23 Thread Lars Christensen
I have this simple CMakeLists.txt: add_custom_target(deptest ALL DEPENDS files.out) add_custom_command(OUTPUT foo.x COMMAND touch foo.x DEPENDS foo.cpp) add_custom_command(OUTPUT bar.x COMMAND false DEPENDS bar.cpp) add_custom_command(OUTPUT files.out COMMAND touch files.out DEPENDS foo.x bar.x)

Re: [CMake] Use of -fPIC when linking executables

2006-03-14 Thread Lars Nordlund
. Is it breaking something for you? No, no problem seen. I was just curious. Thanks for the reply, Lars Nordlund ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Use of MACOSX_BUNDLE??

2006-04-11 Thread Lars Pechan
to do all of thi by myself using skeleton files and writing CMake code to set up directories and copy skeleton files across to those? Thanks for any hints, /Lars ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Unable to compile a simple test program

2007-06-15 Thread Lars Nygard
, Lars Nygard Im using Visual Studio .NET 2003, Window XP service pack2 (with all latest updates) and Cmake 2.4 patch 6 This is part of the error file from cmake. ** Determining if the C compiler works failed

Re: [CMake] Unable to compile a simple test program

2007-06-15 Thread Lars Nygard
Hi David, Thaks for your email. I tried what you said but I still get the same error. Where can I download cmake 2.4.7? The latest version on the site is 2.4.6... greets, Lars Nygard - Original Message From: David Cole [EMAIL PROTECTED] To: Lars Nygard [EMAIL PROTECTED] Cc: cmake

Re: [CMake] Unable to compile a simple test program

2007-06-15 Thread Lars Nygard
with this. thanks in advance, lars Determining if the C compiler works failed with the following output: Microsoft (R) Visual C++ Express Edition Version 8.0.50727.42. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. -- Build started: Project: ZERO_CHECK, Configuration: Debug Win32

[CMake] Method to get effective include_directories and compile_definitions

2014-02-10 Thread Lars Christensen
to generate PC-Lint configuration files and need the definitions and include directories. The wiki solution no longer works with interface include_directories and compile_definitions. Lars -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki

[CMake] ExternalData_Add_Test get referenced files

2015-01-20 Thread Lars Bilke
? Is it stored in some test properties? Thanks! Lars -- 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

[CMake] Detecting compilation option and flags

2018-05-20 Thread Lars Christensen
y detect ALL compilation flags for a target? Picking up these two flags is required for my pre-compiled header cmake hack[1]. It used to work OK. I guess Debug can be detected and picked up from _FLAGS_DEBUG, but I don't see a way to pick up -std=. Lars 1) https://github.com/larsch/cmake-precom

[CMake] Outputting targets to subdirectories

2010-06-04 Thread Lars Sønderby Jessen
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/plugins/myplugin.dll ? - Lars ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

[CMake] how generate correct start menu shortcuts for selectable programs in installer

2013-09-24 Thread West Lars-Gunnar
) -- Is it possible to do this? Regards Lars -- 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

[CMake] can start menu content depend on what components selected for install

2013-09-30 Thread West Lars-Gunnar
I can't figure out how to generate a start menu that reflects my selection of installed components. This is for installation on windows using cmake, cpack and nsis. Is it possible to do? Regards Lars -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] can start menu content depend on what components selected for install

2013-10-04 Thread West Lars-Gunnar
-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of West Lars-Gunnar Sent: den 30 september 2013 10:54 To: cmake@cmake.org Subject: [CMake] can start menu content depend on what components selected for install I can't figure out how to generate a start menu that reflects my selection

[cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2016-07-13 Thread Schmertmann, Lars
it is good to realize this in a new ticket/commit? Best regards Lars Schmertmann From 036b3cb1a459befe7c0917f98c53ec0f176d2a8e Mon Sep 17 00:00:00 2001 From: Lars Schmertmann <lars.schmertm...@governikus.de> Date: Tue, 12 Jul 2016 16:53:36 +0200 Subject: [PATCH] Add support for multiple/alter

Re: [cmake-developers] [CMake 0015749]: Make the URL option of ExternalProject_Add to accept lists

2016-07-13 Thread Schmertmann, Lars
Thanks for the hint. I removed the ^ to replace all occurrences and not only the first one. ExternalProject.cmake, Line 1670: string(REGEX REPLACE "^file://" "" url "${url}") Lars S. Am 13.07.2016 um 11:14 schrieb David Cole: > Looks like you could also u