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
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
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
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
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
).
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
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
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
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
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
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 ...)
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
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
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
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
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
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
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
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
"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
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
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;
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
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
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
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
(..) 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
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
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
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
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
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
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
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
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
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})
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
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;
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
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
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
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
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
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
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
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
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
?
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
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)
.
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
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
,
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
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
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
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
? 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
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_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
)
--
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
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
-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
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
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
64 matches
Mail list logo