Hi,
in KDE we create a lot of dynamic plugins, and since KDE 1.x we create them
without the lib prefix.
There was a request on the KDE buildsystem list to make this the default
behaviour of cmake:
http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7570
A quick survey on my system showed
On Thursday 06 December 2012, Stephen Kelly wrote:
Alexander Neundorf wrote:
On Thursday 06 December 2012, Stephen Kelly wrote:
...
I don't fully follow (too much 'the example' etc :)), but I guess it's
not too important. I think the two cases we're talking about are clear
*
Brad King wrote:
On 12/09/2012 08:48 AM, Stephen Kelly wrote:
I think the 'Setting include directories via target_link_libraries() ?'
thread needs to be concluded first (with reasoning), as that affects
everything else.
While thinking about my next response to that discussion I realized
Brad King wrote:
On 12/09/2012 08:48 AM, Stephen Kelly wrote:
I think the 'Setting include directories via target_link_libraries() ?'
thread needs to be concluded first (with reasoning), as that affects
everything else.
While thinking about my next response to that discussion I read your
Stephen Kelly wrote:
set_property(TARGET foo INTERFACE_INCLUDE_DIRECTORIES
/include/foo
$TARGET_PROPERTY:bar,INTERFACE_INCLUDE_DIRECTORIES
$TARGET_PROPERTY:bat,INTERFACE_INCLUDE_DIRECTORIES
)
The consumer will get the foo include followed by the bar include followed
by the bat include.
Brad King wrote:
On 12/13/2012 08:44 AM, Stephen Kelly wrote:
Where would the configuration mapping come from is another project is
encountered?
The mapping comes from the MAP_IMPORTED_CONFIG_ on the target from which
the property value containing the current generator expression was read.
On 12/13/2012 11:02 AM, Stephen Kelly wrote:
Brad King wrote:
The mapping comes from the MAP_IMPORTED_CONFIG_ on the target from which
the property value containing the current generator expression was read.
That's what I thought, but that property is not currently exported, right?
It is
Brad King wrote:
On 12/13/2012 11:02 AM, Stephen Kelly wrote:
Brad King wrote:
The mapping comes from the MAP_IMPORTED_CONFIG_ on the target from which
the property value containing the current generator expression was read.
That's what I thought, but that property is not currently
On 12/13/2012 11:22 AM, Stephen Kelly wrote:
include(FooTargets.cmake)
Sorry, I misread that as find_package(Foo).
set_property(TARGET Foo::foo
PROPERTY MAP_IMPORTED_CONFIG_COVERAGE Release
)
However, I think the above is clear enough. The consuming project would set
the property
On 12/12/2012 05:32 PM, David Cole wrote:
I strongly agree with Alex here.
Mysteriously changing the target_link_libraries implementation to
automatically do a bunch of stuff BY DEFAULT that it didn't used
to do violates the principle of least surprise big time.
Yes. Also I think some of
Consider this line of CMake code:
string(REGEX REPLACE ^([^.]*)(\..*)?$ \1 BAR ${FOO})
It looks reasonable to me, and works fine on !Windows. However, on
Windows, I get these errors:
Syntax error in cmake code at elided when parsing string
^([^.]*)(\..*)?$
Invalid escape sequence \.
Syntax
The following issue has been SUBMITTED.
==
http://www.cmake.org/Bug/view.php?id=13791
==
Reported By:jujjyl
Assigned To:
Hello
I want to link a library to a custom target:
add_custom_command(
OUTPUT ${FILE}
DEPENDS ${SRC}
COMMAND ${EXECUTABLE}
ARGS ${SRC}
COMMENT Generating ${FILE}
VERBATIM)
add_custom_target(mytarget ALL
DEPENDS ${FILE})
target_link_libraries(mytarget /usr/local/lib/libmylib.so)
Hi all,
I'm trying to figure out how to use the CMAKE_POLICY() command. I want
to get rid of the warning on CMP0017. I've strategically placed
cmake_policy(PUSH), cmake_policy(SET CMP0017 OLD), and
cmake_policy(POP) which solves the problem when configuring with CMake
2.8.9.
However, our
You could use if(POLICY (if 2.6.2 supports that... I think it does, but it
was very long ago..) to avoid the call on older CMakes.
On Thu, Dec 13, 2012 at 6:31 AM, Marcel Loose lo...@astron.nl wrote:
Hi all,
I'm trying to figure out how to use the CMAKE_POLICY() command. I want to
get
My $0.02..I just completed a CMake system for a code project that
required several TPLs (third party libraries) two of which were the
NetCDF and HDF5. I struggled with the same problems you mention here.
When I wrote my FindXXX modules, the standard I adopted was,
XXX_INCLUDE_DIR only
Stamp
diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 59bac2d..e4117d5 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -2,5 +2,5 @@
set(CMake_VERSION_MAJOR 2)
set(CMake_VERSION_MINOR 8)
set(CMake_VERSION_PATCH 10)
-set(CMake_VERSION_TWEAK 20121213
17 matches
Mail list logo