MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0011311 | CMake | CMake | public | 2010-10-13 12:49 | 2011-05-02 14:45 | ||||||||||
Reporter | Julian Lim | ||||||||||||||
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 | 0011311: Visual Studio 2008 MIDL and cmake 2.8.2 | ||||||||||||||
Description | I'm submitting a patch for 2.8.2 cmake which consist of a patch (described in issue 0008165) that is designed cmake 2.8 AND 3 more items that we worked on. We are working on Visual Studio 2008 COM project which has IDL files and need MIDL to generate the .TLB and header and source files, and we faced with 2 major issues. (1) Looking at 2.8.2 code, the patch from 0008165 hasn’t been applied. After we manually apply it, got us a step forward and now we faced with issue 0000002. http://www.vtk.org/Bug/view.php?id=8165 [^] 1>------ Build started: Project: vbabc, Configuration: Release Win32 ------ 1>Creating Type Library... 1>midl : command line warning MIDL1009 : unknown argument ignored "..\..\..\..\source\libvbabc\vbabc.idl" 1>Processing Release\"" 1>Release"" 1>c1 : fatal error C1083: Cannot open source file: 'Release""': Invalid argument 1>midl : command line error MIDL1003 : error returned by the C preprocessor (2) 1>Build log was saved at "file://c:\source\build\msvc\vc\libvbabc\vbabc.dir\Release\BuildLog.htm" [^] 1>vbabc - 2 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== (2) After issue #1 resolved, we could finally MIDL tools ran against IDL files. There were 2 issues we face when issue #1 is resolved. a. The .TLB files are generated inside build directory (example, vbabc.dir/Release) but Visual Studio is still looking for it in the CMAKE Source directory. Yes, we do want these files to be generated in vbabc.dir/Release which is the object directory because this will enable us to build from multiple processes and do not interfere with each build. b. The generated headers is not in any Include path that when our source include it an error occurs. c. For Linker, DebugInformation is YES for Release version. The patch I'm submitting face all these issues in 2.8.2. -Julian Lim Tradebot Systems | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | cmLocalVisualStudio7Generator.cxx.2.8.2.patch (4,092) 2010-10-13 12:49 https://public.kitware.com/Bug/file/3448/cmLocalVisualStudio7Generator.cxx.2.8.2.patch | ||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2010-10-13 12:49 | Julian Lim | New Issue | |||||||||||||
2010-10-13 12:49 | Julian Lim | File Added: cmLocalVisualStudio7Generator.cxx.2.8.2.patch | |||||||||||||
2010-10-13 12:53 | Julian Lim | Note Added: 0022490 | |||||||||||||
2010-10-13 13:08 | Bill Hoffman | Status | new => assigned | ||||||||||||
2010-10-13 13:08 | Bill Hoffman | Assigned To | => David Cole | ||||||||||||
2010-11-12 14:47 | Robert Lenhardt | Note Added: 0023227 | |||||||||||||
2010-11-15 08:09 | David Cole | Relationship added | related to 0008165 | ||||||||||||
2010-11-15 08:09 | David Cole | Target Version | => CMake 2.8.4 | ||||||||||||
2010-12-15 09:16 | David Cole | Relationship added | related to 0010687 | ||||||||||||
2011-01-05 11:08 | David Cole | Note Added: 0024422 | |||||||||||||
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: 0026309 | |||||||||||||
2011-05-02 14:45 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|