| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0010687 | CMake | CMake | public | 2010-05-07 09:28 | 2012-03-16 13:07 | ||||
| Reporter | Gabriel Kalkuhl | ||||||||
| Assigned To | David Cole | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-8 | ||||||||
| Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
| Summary | 0010687: VC 2010 generator ignores .idl Files and doesn't produce .tlb file | ||||||||
| Description | The Visual Studio 2010 generator has no rule to recognize .idl for generating typelibraries. Instead of generating <Midl Include="foo.idl" /> it generates <None Include="foo.idl" /> Regards Gabriel | ||||||||
| Additional Information | Steps to reproduce: - Generate new MFC ActiveX Contol project in VS10 using the wizard - Insert a CMakeLists.txt with following content: SET(NAME "vs10test") project(${NAME}) cmake_minimum_required(VERSION 2.4) cmake_policy(VERSION 2.6) SET(CMAKE_MFC_FLAG 2) FILE(GLOB HEADERS *.h) FILE(GLOB SRC *.cpp *.c *.def *.odl *.idl *.rc res/*.rc2) SET(SRCFILES ${SRC} ${HEADERS}) ADD_LIBRARY(${NAME} SHARED ${SRCFILES}) SET_TARGET_PROPERTIES(${NAME} PROPERTIES SUFFIX ".ocx") SET_TARGET_PROPERTIES(${NAME} PROPERTIES COMPILE_FLAGS "-D_WINDLL -D_AFXDLL -D_USRDLL") - compare wizard generated .vcxproj with cmake generated file | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |||||||||||||||||||||
|
|||||||||||||||||||||
| Relationships |
| Notes | |
|
(0024146) Gabriel Kalkuhl (reporter) 2010-12-15 09:22 |
Building the same project with VS9 Generator works fine. I think cmake is missing a rule for handling odl/idl-Files in VS10 Generator. |
|
(0024420) David Cole (manager) 2011-01-05 11:08 |
Fixed by this commit, just pushed to CMake 'next': http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=13caaa3eb74a11dbf067409ea129321718d34dfe [^] I expect this will make it into the upcoming CMake 2.8.4 release. I will update this and related issues with another note if that expectation turns out to be too optimistic... :-) |
|
(0026307) David Cole (manager) 2011-05-02 14:45 |
Closing resolved issues that have not been updated in more than 3 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-05-07 09:28 | Gabriel Kalkuhl | New Issue | |
| 2010-12-15 09:16 | David Cole | Assigned To | => David Cole |
| 2010-12-15 09:16 | David Cole | Status | new => assigned |
| 2010-12-15 09:16 | David Cole | Relationship added | related to 0008165 |
| 2010-12-15 09:16 | David Cole | Relationship added | related to 0011311 |
| 2010-12-15 09:22 | Gabriel Kalkuhl | Note Added: 0024146 | |
| 2010-12-15 12:14 | David Cole | Relationship added | duplicate of 0011461 |
| 2010-12-17 07:35 | David Cole | Target Version | => CMake 2.8.4 |
| 2011-01-05 11:08 | David Cole | Note Added: 0024420 | |
| 2011-01-05 11:08 | David Cole | Status | assigned => resolved |
| 2011-01-05 11:08 | David Cole | Fixed in Version | => CMake 2.8.4 |
| 2011-01-05 11:08 | David Cole | Resolution | open => fixed |
| 2011-05-02 14:45 | David Cole | Note Added: 0026307 | |
| 2011-05-02 14:45 | David Cole | Status | resolved => closed |
| 2012-03-16 13:07 | Brad King | Relationship added | related to 0013043 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |