name indicates.
Any comments 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,
perform the Install(..) 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.
e used for 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
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
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
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:
if
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
y support 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 CMak
-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-precompiled-header/
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMak
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
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
Hello,
Sorry for the delayed response. The issue has been resolved and was caused by
incorrect component naming in cmake install(...) command.
Regards, Lars
Fra: Nils Gladitz
Sendt: 21. februar 2017 15:33
Til: Lars; cmake@cmake.org
Emne: Re: [CMake] CMake
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
ht
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
"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.org/
project with Configurations "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
>
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;
include_ext
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
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 cmak
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
>
>
P)
By removing the following section 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.ki
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 wh
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
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:
d possibly 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,
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 ...)
INSTA
e are considering this kind 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
> Date: Fri, 28 Feb 2014 15:00:04 +0100
> From: nilsglad...@gmail.com
> To: laasu...@hotmail.com; cmake@cmake.org
> Subject: Re: [CMake] CPack installation directory
>
> On 02/28/2014 02:29 PM, Lars wrote:
>
> > How can I configure the wix generator to produce a msi w
uot;res")
INCLUDE(CPack)
-
How can I configure the wix generator to produce a msi which 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://ww
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
trying 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.cmak
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
difficult to remove qt dependency like
#include . How do you view adding a feature that allow applying regex to
the absolute path? Secondly, the documentation of include_regular_expression
should probably mention something about the target string (relative path, not
absolute).
Regards, Lars
> D
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
>
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:
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 ,
iles included 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 c
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
int main(int argc, char **argv)
{
std::cout << "Hello world" << std::endl;
return 0;
}
Here is the CMakeLists.txt
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"
An:Â "Lars Friedrich Lars"
Cc:Â cmake@cmake.org
Betreff:Â Re: [CMake] command line too long when
luded directories (which are automatically derived by CMake) are definitely not required for compiling this library - cross-checked this on the command line manually.
Â
Is it possible to control (manipulate?) the generated includes in this call by invoking the one other cmake macro? Is there s
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
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
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 check
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
nal behind 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 comm
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
Thank you for your reply.
Just a follow up question, how does CPack invoke candle and light? On Windows
7, using Process Monitor I do see these executables being spawned into a
separate process when doing cpack -G "WIX".
Lars
Date: Fri, 8 Nov 2013 09:40:37 +0100
From: nilsglad...@gm
f a way 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
-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 selecti
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:
)
set ( CPACK_COMPONENTS_ALL compo1 compo2 compo3 )
include (CPack)
--
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
Kitwa
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;
"Op
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 lin
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})
TARGET_LINK_LIBRARI
> 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 :
> > Hello,
> >
> > I would like to know if the featur
lease date 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_FA
n or after the COMPONENTS 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 d
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)
?
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 to
n.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 at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this li
eciate any help 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, Configurati
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]&g
reciate any help.
regards,
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 compi
n? Or do I have 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
other platforms too.
> 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
ut from verbose make:
/usr/pkg/bin/cmake -H/home/lars/tmp/hello -B/home/lars/tmp/hello/build
--check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 all
make -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend
Scanning dependencies of target foo
/usr/pkg/bin/cmake -E
66 matches
Mail list logo