Hello all:
I thank to install qt5(>=5.3.0) library to sepcified directory. I write:
get_target_property(QtCore_location Qt5::Core LOCATION)
install(files ${QtCore_location} DESTINATION .)
Ok, it is copy /usr/local/Qt-5.5.0/lib/libQt5Core.so.5.5.0 to destination
directory, but it don't creat
Hello all,
You were correct, when CGAL is built it overrides CMAKE_BUILD_TYPE, as
documented here:
http://doc.cgal.org/latest/Manual/installation.html
The solution is to invoke:
cmake -DCGAL_DONT_OVERRIDE_CMAKE_FLAGS=True -DCMAKE_BUILD_TYPE=Debug ..
Thanks for your help!
Adam
On Sun, Mar 1
>
>
> And it's mostly wrong, e.g. lib64 is not correct for many systems. If you
> want Unix like subdirectories, use the GnuIntallDirs module.
>
>
Better?
if( WIN32 )
install( TARGETS MatrixSSL RUNTIME DESTINATION bin LIBRARY DESTINATION
bin ARCHIVE DESTINATION lib )
else( WIN32 )
include( G
Hi,
Sure, this is straightforward to do all at make time, if you're prepared to
find out what the names of the generated files are. They must follow some
pattern ;-). Solutions with make-time globbing are surely impossible, and
Petr's IF idea seems brittle to me.
See (for example)
https://github.
Am 10. März 2015 23:33:41 MEZ, schrieb J Decker :
>I recently added cmakelists to a library that didn't support cmake.
>It started with a simple make system, and was easy to create and use
>simple
>cmake support.
>
>I was building using visual studio, and this was my install command
> install(
I recently added cmakelists to a library that didn't support cmake.
It started with a simple make system, and was easy to create and use simple
cmake support.
I was building using visual studio, and this was my install command
install( TARGETS MatrixSSL
LIBRARY DESTINATION bin
Hi Peter,
Good point. Then it will be possible to manage workflow with pure cmake.
Without of using of external scripts.
Thanks, Tomasz.
2015-03-10 8:40 GMT+01:00 Petr Kmoch :
> Hi Tomasz,
>
> the if() command also supports this operator:
>
> if(file1 IS_NEWER_THAN file2)
>
> Perhaps you coul
Well, I finally got around this. I narrowed it down to a step in our build
"scaffolding"--the stuff that makes a front-end script be the compiler, do both
the C and asm steps. It was doing this, from within CMakeFiles\CmakeTmp:
cp CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o testCCompiler.z
Hi,
I have just run into this problem a few weeks ago. My explanation might not be
perfect, but from what I understand, it is related to the fact that the
libraries which Qt depends upon have to be available for static linking to your
application. Those dependencies are “magically” brought i
Hi,
that's because qmake uses its some extra files to track the additional
libraries that are needed when you link qt statically (.prl IIRC).
You are missing these, somehow. Maybe the cmake files from qt5 don't handle
this case?
HS
Am 10. März 2015 18:28:18 MEZ, schrieb paul johnson :
>This h
(sorry if you received this message twice)
Hi Mark
This is the set of C++ source code files. This set will be compiled during
the make stage. Ideally will be to move generation to make stage.
Unfortunately I don't know the name of the files that will be generated
before generation phase occurs.
Dear Cmake experts,
I am trying to use cmake to build some source code of neuroimaging softwares.
however I am facing a quite dramatic issue: after configuration and generation
I do have my build folder, but I miss the bin folder inside it, and all build
folders result empty.
Could you help me
Hello all,
I'm a newbie using CMake and I'm trying to migrate the compilation of a
fortran project to CMake.
I'm trying to detect the METIS library with find_library(). Inside my
FindMETIS.cmake I want to check the existence of some functions to set the
library version with:
CHECK_LIBRARY_EXISTS
Hi Tomasz,
the if() command also supports this operator:
if(file1 IS_NEWER_THAN file2)
Perhaps you could use this to make it work for you.
Petr
Per
On Tue, Mar 10, 2015 at 7:05 AM, Mark Abraham
wrote:
> Hi,
>
> What are you generating that must be done at cmake time?
>
> Mark
> On 09/03/2
14 matches
Mail list logo