On 2016-10-03 at 14:43 +0200, Stephen Kelly wrote:
> Ivan Shapovalov wrote:
>
> > Hello!
> >
> > Using find modules to detect dependencies has a nice feature: it is
> > then possible to edit the resulting cache entries to link to
> > different
> > l
IMPORTED targets, however, prevents doing this,
because IMPORTED targets are not stored in CMake cache. This can be a
significant disadvantage at times.
So: is there any workaround/hidden feature to edit IMPORTED targets?
Or is such a feature planned?
Thanks,
--
Ivan Shapovalov / intelfx
On 2016-09-01 at 18:57 +0200, Stephen Kelly wrote:
> Ivan Shapovalov wrote:
>
> >
> > Of course, I can always edit the FooConfig.cmake file manually, but
> > I'd
> > better avoid patching anything (installing new files or running any
> > cmake commands
inition of `foo` imported target to alter its LOCATION, because
the target definition itself is not cached.
Of course, I can always edit the FooConfig.cmake file manually, but I'd
better avoid patching anything (installing new files or running any
cmake commands is OK).
Is there any nice way to s
That's very nice; thanks!
--
Ivan Shapovalov / intelfx /
On 2016-08-18 at 15:29 +0200, Tamás Kenéz wrote:
> Ivan,
>
> >
> > But, if library `foo` is built as static, then its clients suddenly
> > become required to link to `bar` as well, and this information is
eed, your sample project does not exhibit include path bloat. So
this really looks like a limitation of CMake import/export mechanism
(I say limitation, not bug, because there are simply no target
properties detailed enough to allow this behavior).
There is a property IMPORTED_LINK_DEPENDENT_LIBRARIES_ w
m
/home/intelfx/devel/__auxiliary/experiments/cmake-static-transitive/prefix/bar/include
-o CMakeFiles/client.dir/src/
main.cpp.o -c
/home/intelfx/devel/__auxiliary/experiments/cmake-static-transitive/client/src/main.cpp
--
Ivan Shapovalov / intelfx /
signature.asc
Description: This is a digi
TBH, I do not see the "PRIVATE dependencies are made PUBLIC for the
purposes of linking when the dependent is static library" there.
--
Ivan Shapovalov / intelfx /
On 2016-08-16 at 02:35 -0500, Nicholas Braden wrote:
> Yes, the behavior is documented in several places, the m
ould've tested on sample project.
It does not solve include path bloat though, but that's a minor issue.
One question remains... is this behavior documented somewhere?
Anyway, huge thanks,
--
Ivan Shapovalov / intelfx /
signature.asc
Description: This is a digitally signed message pa
e anything less hackish or more idiomatic?
Thanks,
--
Ivan Shapovalov / intelfx /
signature.asc
Description: This is a digitally signed message part
--
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 ser
hould be a solution for this, but I cannot find it. Can anyone
help me?
For more clarification: I’m using OS X El Capitan.
——
Best regards, Ivan.
--
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
mpiler by setting either the environment
> variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path
> to
> the compiler, or to the compiler name if it is in the PATH.
>
>
>
> Any ideas are greatly appreciated.
>
>
>
> Thanks,
>
>
Not absolutely, CMake still does not know Fortran compiler version,
variable is defined but as an empty string...
But OK, I wil chage conditions in my other scripts. :)
2014-08-05 22:16 GMT+02:00 Bill Hoffman :
> On 8/5/2014 3:57 PM, Ivan Hrasko wrote:
>
>>
>> 3. You
is defined
(cmake 3.0.0) and Fortran version is not defined (cmake 2.8.x.x).
So behaviour of CMake has changed a lot and I think it is a bug and can
cause problems if someone relies on it. I have also information
about this "surprise" behaviour on Linux when used with Intel compilers.
--
ake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this
1. What your environment exactly is? It does not look like Windows only
(because I see in your log: bash-3.1$ cmake -G "Unix Makefiles" . ), so I
expect you are using something like Cygwin and when you use this kind of
environment you can
have problems with paths. For example C:/software/propgcc/bi
On Sat, 2 Nov 2013 15:09:25 +0100
Petr Kmoch wrote:
> Hi Ivan.
> The correct use of OBJECT libraries is not to link against them, but
> to list them as sources (using a special syntax), like this:
> add_executable(project main.c $)
> (Assuming 'serial' is the name of
all libraries
But I can't get rid of the same error even when I add:
add_executable(project main.c)
set_target_properties(project PROPERTIES ENABLE_EXPORTS ON) #<--
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
--
Powered by www.kitware.com
Please keep messages on-t
On Fri, 1 Nov 2013 20:08:05 +0100
Alexander Neundorf wrote:
> and the name of the library target ? Still crt0 or something else ?
BTW I'm using 2.8.11.2 in Debian sid
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
--
Powered by www.kitware.com
Please keep messages on-topic a
On Fri, 1 Nov 2013 20:08:05 +0100
Alexander Neundorf wrote:
> On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> > On Fri, 1 Nov 2013 17:36:33 +0100
> >
> > Alexander Neundorf wrote:
> > > > If it was supposed to work right out of the
d how.
> Could you try to rename your target "crt0" to something different and
> see whether this changes something ?
I renamed the crt0.x file to pino.x.
removed add_dependencies() and set_property(...)
pino.x get assembled but it doesn't get linked.
--
Ivan Sergio Borgonov
On Fri, 1 Nov 2013 12:58:32 +0100
Alexander Neundorf wrote:
> On Friday 01 November 2013, Ivan Sergio Borgonovo wrote:
> > On Fri, 1 Nov 2013 11:37:10 +0100
> >
> > Alexander Neundorf wrote:
> > > so crt0.x is the missing one, right ?
> > > Are you sure i
and the
"how to force cmake to compile and link asm files when it seems it
can't get dependencies right"
the problem seems solved
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http:
On Thu, 31 Oct 2013 22:08:27 +0100
Ivan Sergio Borgonovo wrote:
[snip]
> The only difference I can spot is that others contains global symbols
> that are referenced in C files[1] or in the linker options[2] while
> the only one that doesn't get compiled and linked contains symb
On Thu, 31 Oct 2013 21:17:11 +0100
Alexander Neundorf wrote:
> On Thursday 31 October 2013, Ivan Sergio Borgonovo wrote:
> > On Thu, 31 Oct 2013 18:01:29 +0100
> >
> > Alexander Neundorf wrote:
> > > Did you try setting the source file property "LANGU
er problem:
One of those asm file is somehow being ignored by cmake.
I can find the right commands greping in the build dir but they are not
executed during make:
./SOFTWARE_FRAMEWORK/UTILS/STARTUP_FILES/GCC/CMakeFiles/crt0.dir/build.make:
cd
/home/ivan/Documents/avr/test/BuildTest/SOFTWARE_FRAM
assembler-with-cpp")
set(CMAKE_ASM_FLAGS "${CFLAGS} ${ASM_OPTIONS}" )
All asm files are in separate directories with their own CMakeLists.txt
and they are "added" as
add_library(targetname STATIC sourcefile)
SET_TARGET_PROPERTIES(targetname
PROPERTIES LINKER_LANGUAGE A
Hi,
I have CMakeLists.txt with several external projects included:
<...>EXTERNALPROJECT_ADD(bzip2URL
http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gzCONFIGURE_COMMAND ""
BUILD_COMMAND make PREFIX=${CMAKE_BINARY_DIR} SHARED=
XCFLAGS=-I${CMAKE_BINARY_DIR}/include XLDFLAGS=-L${CMAKE_BI
Is it possible to easily add a new build configuration that is identical to
an existing configuration (for example "MinSizeRel2" which has exactly the
same settings as "MinSizeRel")?
___
Powered by www.kitware.com
Visit other Kitware open-source projects
Hi there!
I've written almost all the .cmake files required to add Erlang
support, but when I was approaching completion, I realized--to be
honest, got confused by the fact that there is no linking phase. So
here is the question: what should CMAKE_Erlang_LINK_EXECUTABLE look
like? Or speaking more
Hi!
How can i generate the makefiles on a different systems, where no CMake is
installed? It`s like a configure (autoconf utility).
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.
Hello!
I have Qt application. It use in the source code Q_IMPORT_PLUGIN(basic). And
i also have a source code for this plugin `basic`. To generate a correct
makefile by CMake for the plugin `basic` what must i do? It differents from
a build a simple static library?
Hi,folks!
My project uses Qt4 and i need to generate *.h files from *.ui files. For
that i use QT4_WRAP_UI macro. But it generete *.h files in a derectory where
CMake is running. Maybe exist some CMake variable for point an output
directory for that generated files or some other tools?
___
Hi,folks!
My project uses Qt4 and i need to generate *.h files from *.ui files. For
that i use QT4_WRAP_UI macro. But it generete *.h files in a derectory where
CMake is running. Maybe exit some CMake variable for point an output
directory for that generated files or some other tools?
>> -compatibility_version and -current_version without the -Wl, i.e.,
>>>> these options are meant to be interpreted by gcc rather than passed
>>>> directly to the linker."
>>>>
>>>> Jerry
>>>>
>> On Feb 8, 2009, at 9:12
a new generator based on
the cmGlobalVisualStudio9Generator/cmLocalVisualStudio7Generator ones.
If you have any question about details you are welcome.
---
Best regards,
Ivan.
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hello,
I want to generate a CMakeLists.txt which configures a visual studio 2005
project with the libraries needed to use MySQL++.
The changes I have to manually do with visual studio properties window are
the following:
1. Append the following to 'C/C++::General::Additional Include Directories'
Hi, everyone!
I once wrote here about problem of change VS linker link.exe to other
linker, may be now someone can help solve it?
I try to change linker like that:
STRING(REPLACE "${CMAKE_CXX_COMPILER}" "someotherlinker.exe"
CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_CXX_LINK_EXECUTABLE})
But it`s not work
Hello!!!
Whether using CMake change a standart MSVS linker link.exe to some external
linker?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
Hello everyone!
My project uses some source files, wich generated before build start. For
generate this files in CMake i uses ADD_CUSTOM_COMMAND with PRE_BUILD option
and SET_SOURCE_FILES_PROPERTIES with option GENERATED sets as true
for cancel error during add a file to a target.
But folowing er
Hello!
I have not installed MSVS6 (copy from another machine). For correct CMake
work i set all necessary system variables like on another machine, but CMake
cause error: "CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND"
was not found." Who knows all necessary system variables can be, i
I need to generate Unix Makefiles under Windows for usage in Eclipse. If
i run CMake follows: cmake -G "Unix Makefiles" it happens error: CMake
Error: CMake was unable to find a build program corresponding to "Unix
Makefiles". CMAKE_MAKE_PROGRAM is not set.
What should I do to circumvent this probl
Hello, everyone! I have occur need to change Visual Studio linker (link.exe)
to some other external linker while build project by nmake. How i can do it
by CMake?
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
[EMAIL PROTECTED]
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
44 matches
Mail list logo