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
Hi Lars.
The DESTINATION parameter of install() accepts only a single argument,
which means it's tripping on the line break between the two genexes. Make
it one argument:
INSTALL(FILES ${qt5_locations}
DESTINATION
$<$:bin>$<$:lib>
COMPONENT runtime)
This should work.
Petr
On Wed, 9
Hello,
We use find_package command in config mode to find Qt 5.11 libraries. The
libraries are available as imported (Qt5::Core etc).
Our understand is that CMake does not support install of imported targets.
Therefore we use get_target_property to find actual location of library and
Hello,
Using CMake 3.8.1 on Windows 7 SP1.
The following cmake expression will produce an error.
INSTALL(
FILES
$<$${COMP_PATH}/win32/bin/comp.dll>
DESTINATION "${install_dir}")
"CMake error: Error evaluating generator expression: $.
$ may only be used with binary targets. It
Hi Micha,
these parameters, which are common to several install() commands, are
described in the initial section of the command's docs:
http://www.cmake.org/cmake/help/v3.2/command/install.html#introduction
Petr
On Wed, Feb 18, 2015 at 8:46 AM, Micha Renner micha.ren...@t-online.de
wrote:
Hello,
In the manual the install(FILES...) command is described as this:
install(FILES|PROGRAMS files... DESTINATION dir
[PERMISSIONS permissions...]
[CONFIGURATIONS [Debug|Release|...]]
[COMPONENT component]
[RENAME name] [OPTIONAL])
So what is the meaning of
Hello!
During the installation process, I am copying a quite large directory using
INSTALL(DIRECTORY foo DESTINATION bar)
When I run make install, every single file contained in foo is displayed
in the shell. Is there some way to prevent a install command from
printing to the command line?
On 07/29/2011 11:43 AM, Mathias Tausig wrote:
Hello!
During the installation process, I am copying a quite large directory using
INSTALL(DIRECTORY foo DESTINATION bar)
When I run make install, every single file contained in foo is displayed
in the shell. Is there some way to prevent a
On Tue, Oct 20, 2009 at 9:32 AM, Mathieu Malaterre
mathieu.malate...@gmail.com wrote:
On Mon, Oct 19, 2009 at 9:51 PM, Brad King brad.k...@kitware.com wrote:
Mathieu Malaterre wrote:
Hi there,
I am trying some new functionalities in CMake, in particular:
On Mon, Oct 19, 2009 at 9:51 PM, Brad King brad.k...@kitware.com wrote:
Mathieu Malaterre wrote:
Hi there,
I am trying some new functionalities in CMake, in particular:
http://www.cmake.org/Wiki/CMake_2.6_Notes#Packaging_and_Exporting
However using cmake 2.8, I get an error:
CMake
Mathieu Malaterre wrote:
Hi there,
I am trying some new functionalities in CMake, in particular:
http://www.cmake.org/Wiki/CMake_2.6_Notes#Packaging_and_Exporting
However using cmake 2.8, I get an error:
CMake Error at cmake_install.cmake:64 (FILE):
file INSTALL cannot find
Hi there,
I am trying some new functionalities in CMake, in particular:
http://www.cmake.org/Wiki/CMake_2.6_Notes#Packaging_and_Exporting
However using cmake 2.8, I get an error:
CMake Error at cmake_install.cmake:64 (FILE):
file INSTALL cannot find
Hi there,
I am confused on how to use install(files...) with VS 2008 IDE. Here
is what I wrote:
cmake
ADD_CUSTOM_COMMAND(
OUTPUT ${GDCM_LIBRARY_DIR}/gdcm_csharp.dll
COMMAND ${CMAKE_CSHARP_COMPILER} ARGS /t:library
/out:${GDCM_LIBRARY_DIR}/gdcm_csharp.dll *.cs
WORKING_DIRECTORY
David,
On Tue, Nov 18, 2008 at 1:09 PM, David Cole [EMAIL PROTECTED] wrote:
Looks like your definition of GDCM_LIBRARY_DIR must include
${CMAKE_CFG_INTDIR}. You can't use that in an install rule... rather use
\${BUILD_TYPE} (with an escaped dollar sign) like in the VTK install
rules...
Cool
On Tue, Nov 18, 2008 at 1:47 PM, Mathieu Malaterre
[EMAIL PROTECTED] wrote:
David,
On Tue, Nov 18, 2008 at 1:09 PM, David Cole [EMAIL PROTECTED] wrote:
Looks like your definition of GDCM_LIBRARY_DIR must include
${CMAKE_CFG_INTDIR}. You can't use that in an install rule... rather use
Dear all,
I am writting cmake file to build library libVisionComponents that
includes sources from subdirectories (each subdir is different
component). In the main cmake file, sources and headers are listed as
ComponentName/File.cpp. The library is compiled successfully, but when
I install it
Gregor Berginc wrote:
I am writting cmake file to build library libVisionComponents that
includes sources from subdirectories (each subdir is different
component). In the main cmake file, sources and headers are listed as
ComponentName/File.cpp. The library is compiled successfully, but when
Von: Zachary Pincus [EMAIL PROTECTED]
I'm wondering if there is any good way to have CMake install a
particular file at an absolute position in the filesystem (not
prefixed by CMAKE_INSTALL_PREFIX) during 'make install'.
There is already a bug report about it:
Hello again,
I'm wondering if there is any good way to have CMake install a
particular file at an absolute position in the filesystem (not
prefixed by CMAKE_INSTALL_PREFIX) during 'make install'.
It's clearly possible to send a file to any given location during the
configure or build
19 matches
Mail list logo