View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015323CMakeCMakepublic2014-12-22 15:452015-05-04 09:05
Reporteryaruopooner 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformMSVC2013 Win64OSWindowsOS Version7 SP1
Product VersionCMake 3.1 
Target VersionFixed in Version 
Summary0015323: Visual Studio 2013 %3B in IMPORTED_IMPLIB_<CONFIG>
DescriptionInclude "%3B" in the output of the "IMPORTED_IMPLIB_<CONFIG>".

This problem has occurred from cmake3.1.0.
3.0.2 don't have this issue.

I tried a few pattern.

set_property(TARGET additional_dependencies PROPERTY IMPORTED_IMPLIB_RELEASE foo.lib bar.lib)

or

set_property(TARGET additional_dependencies PROPERTY IMPORTED_IMPLIB_RELEASE "foo.lib;bar.lib")

but I got same output.

foo.lib%3Bbar.lib
Steps To Reproduce-console
cmake -G "Visual Studio 12 2013 Win64" .

-CMakeLists.txt(Excerpt)
add_library(additional_dependencies SHARED IMPORTED)
set_property(TARGET additional_dependencies PROPERTY IMPORTED_IMPLIB_RELEASE foo.lib bar.lib)

-output
foo.lib%3Bbar.lib
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0037511)
Brad King (manager)
2014-12-22 16:14

The IMPORTED_IMPLIB is documented to be a single value. Anything else was supported only by accident and would be not likely to work in non-VS generators.

If you want to import multiple libraries then each should get its own imported target, and dependencies can go in INTERFACE_LINK_LIBRARIES.

Please ask on the mailing list:

 http://www.cmake.org/mailman/listinfo/cmake [^]

if you need further help.
(0037512)
Brad King (manager)
2014-12-22 16:16

Re 0015323:0037511: More specifically IMPORTED_IMPLIB is documented as a *full path* to a single import library file:

 http://www.cmake.org/cmake/help/v3.0/prop_tgt/IMPORTED_IMPLIB.html [^]
(0038707)
Robert Maynard (manager)
2015-05-04 09:05

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2014-12-22 15:45 yaruopooner New Issue
2014-12-22 16:14 Brad King Note Added: 0037511
2014-12-22 16:14 Brad King Status new => resolved
2014-12-22 16:14 Brad King Resolution open => no change required
2014-12-22 16:16 Brad King Note Added: 0037512
2015-05-04 09:05 Robert Maynard Note Added: 0038707
2015-05-04 09:05 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team