View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015006CMakeCMakepublic2014-07-04 02:422015-01-05 08:39
Reportersudakov_ivan 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platformlinux x86-64OSfedoraOS Version18
Product VersionCMake 3.0 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0015006: AUTORCC doesn't work with OBJECT library
DescriptionI wrote code: "add_library(foo OBJECT foo.cpp foo.rcc)". It doesn't compile by cmake. Can I use AUTORCC with OBJECT library?
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0036319)
Brad King (manager)
2014-07-07 09:24
edited on: 2014-07-09 09:45

Coincidentally I was just working on a change to lift the restriction on custom command outputs that are not sources or headers. The draft of the commit is here:

 add_library: Allow arbitrary non-linked sources in OBJECT libraries
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2c470b77 [^]

(0036327)
sudakov_ivan (reporter)
2014-07-07 14:24

Thank you for response. As I understand your changes will be in cmake 3.1. When will that release happen?
(0036328)
Brad King (manager)
2014-07-07 14:31

Re 0015006:0036327: Follow the "Roadmap" link in the navigation bar.

You can also try nightly binaries here:

 http://www.cmake.org/files/dev/?C=M;O=D [^]

Tonight's build should include this change so I would appreciate testing and feedback for your use case.
(0036329)
sudakov_ivan (reporter)
2014-07-08 07:25

Ok. Thank you very much for quick feedback. We use cmake more and more and enjoy it!
(0036381)
Brad King (manager)
2014-07-14 15:12

Re 0015006:0036329: Can you please confirm that this solution works for you? Thanks.
(0036384)
sudakov_ivan (reporter)
2014-07-15 03:08

I tried http://www.cmake.org/files/dev/?C=M;O=D [^] [^].
It works, thanks.
(0036393)
Brad King (manager)
2014-07-15 09:10

Great, thanks for testing.
(0037587)
Robert Maynard (manager)
2015-01-05 08:39

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

 Issue History
Date Modified Username Field Change
2014-07-04 02:42 sudakov_ivan New Issue
2014-07-07 09:24 Brad King Note Added: 0036319
2014-07-07 09:25 Brad King Status new => acknowledged
2014-07-07 09:25 Brad King Target Version => CMake 3.1
2014-07-07 14:24 sudakov_ivan Note Added: 0036327
2014-07-07 14:31 Brad King Note Added: 0036328
2014-07-08 07:25 sudakov_ivan Note Added: 0036329
2014-07-09 09:45 Brad King Note Edited: 0036319
2014-07-14 15:12 Brad King Note Added: 0036381
2014-07-14 15:23 Brad King Assigned To => Brad King
2014-07-14 15:23 Brad King Status acknowledged => assigned
2014-07-15 03:08 sudakov_ivan Note Added: 0036384
2014-07-15 09:10 Brad King Note Added: 0036393
2014-07-15 09:10 Brad King Status assigned => resolved
2014-07-15 09:10 Brad King Resolution open => fixed
2014-07-15 09:10 Brad King Fixed in Version => CMake 3.1
2015-01-05 08:39 Robert Maynard Note Added: 0037587
2015-01-05 08:39 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team