One more thing I noticed - CMAKE_EXE_LINKER_FLAGS is normally not a
cache variable, and having both a cache and non-cache var of the same
name can have weird consequences. Maybe try just setting it without
CACHE STRING ...
If that doesn't help, can you generate a different buildsystem
(perhaps NMa
Hi, list!
I want write a PrecompiledHeader.cmake to support PCH for QtCreator.
For now, It works well use MSVC, see:
https://codereview.qt-project.org/#change,34052
I have some trouble with how to get GCC's compile flags / definitions /
include_directories.
My way (does not work yet):
> macro(get
On Mon, Sep 3, 2012 at 3:59 PM, Rui Maciel wrote:
> I have a small project which includes a couple of parsers whose lexers are
> generated by re2c. I intended to set cmake so that it could check if re2c
> is present in the system, but after browsing through the docs I've ended up
> empty-handed.
On Monday 03 September 2012, Rui Maciel wrote:
> I have a small project which includes a couple of parsers whose lexers
> are generated by re2c. I intended to set cmake so that it could check
> if re2c is present in the system, but after browsing through the docs
> I've ended up empty-handed.
Use
I don't know if it's the right way, but I am looking for the
executable/script with find_file and set up a custom command for it.
Regards,
Andreas Naumann
Am 03.09.2012 21:59, schrieb Rui Maciel:
I have a small project which includes a couple of parsers whose lexers
are generated by re2c. I i
I have a small project which includes a couple of parsers whose lexers
are generated by re2c. I intended to set cmake so that it could check
if re2c is present in the system, but after browsing through the docs
I've ended up empty-handed.
So, is there a way to set a cmake project so that it c
Once the driver project has converted to using cmake that is what I plan to
do - use find_path() to look for driver_root/CMakeLists.txt. But in the
meantime I'm stuck using find_file() instead which works but it looks like
a bug that I need to specify the NO_DEFAULT_PATH option to avoid getting an
On Mon, Sep 3, 2012 at 6:45 PM, John Drescher wrote:
> take a look at the GetPrerequisites cmake module.
>
Thanks, I didn't know about this.
Joel Lamotte
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep m
On Mon, Sep 3, 2012 at 11:05 AM, Klaim - Joël Lamotte wrote:
> Hi,
>
> Is there any way in CMake to get a list of all binaries related to one
> target?
> What I mean is that assuming I have a target, say a library lib_a, that
> depends on lib_b and lib_c which are either SHARED or MODULE (so they
Hi Petr,
Unfortunately it doesn't. I changed the sample as following but
intel fortran ignores incremental linking setting.
cmake_minimum_required(VERSION 2.8)
project(TestF90 Fortran)
set(CMAKE_EXE_LINKER_FLAGS "/INCREMENTAL:NO"
CACHE STRING "EXE_LINKER_FLAGS" FORCE)
a
Hi,
Is there any way in CMake to get a list of all binaries related to one
target?
What I mean is that assuming I have a target, say a library lib_a, that
depends on lib_b and lib_c which are either SHARED or MODULE (so they
produce a .dll/.so),
is there a way or macro to get a string with the pat
Hi Alexander.
CMAKE_EXE_LINKER_FLAGS and similar variables can only be modified
after a call to PROJECT() (the PROJECT() calls sets them up to some
defaults). See if this fixes your issue.
Petr
On Fri, Aug 31, 2012 at 8:47 PM, Alexander Ivanov
wrote:
> Hello all!
>
> I am trying to adopt cmake
I'm working around this now by making Foobar_LIBRARY_DIRS absolute,
get_filename_component(Foobar_LIBRARY_DIRS_ABS ${Foobar_LIBRARY_DIRS} REALPATH)
The hint to CMakePackageConfigHelpers certainly contain the proper bug
fix, so I forwarded this to the Foobar devs.
Thanks!
--Nico
On Mon, Sep 3,
Hi all.
By default, admin privileges are necessary to run mklink (even for
creating symlinks). However, this can be changed by granting the
SeCreateSymbolicLinkPrivilege privilege (see e.g.
http://superuser.com/questions/124679/how-do-i-create-an-mklink-in-windows-7-home-premium-as-a-regular-user)
Am 2012-09-01 19:05, schrieb Bogdan Cristea:
Hi
I am trying to detect BLAS and LAPACK libraries provided by acml
5.1.0, but
both are undetected. After some digging I have found that there are
some
problems related to FindBLAS.cmake which I was able to correct. I am
wondering what is the best
On Tue, Aug 28, 2012 at 6:59 PM, Glenn Coombs wrote:
> I need to test for the presence of a directory called driver_root. I
> couldn't see a find_directory() command in the help
I cannot comment about your issues concerning find_file, but if you know
the name of a file contained in the director
On Mon, Sep 03, 2012 at 12:54:09AM +0200, Nico Schlömer wrote:
> In an attempt to make Foobar relocatable, the library and header
> directories are specified in
> /usr/share/cmake/Foobar/FoobarConfig.cmake as
>
> SET(Foobar_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../../include/foobar")
> SET(Fo
17 matches
Mail list logo