[cmake-developers] [CMake 0015313]: .def files are not visible in Visual Studio project tree

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 17 11:26:44 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15313 
====================================================================== 
Reported By:                patep
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15313
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-12-17 11:26 EST
Last Modified:              2014-12-17 11:26 EST
====================================================================== 
Summary:                    .def files are not visible in Visual Studio project
tree
Description: 
When using .def files to set public symbols in libraries it is important to edit
.def file (sometimes frequently).
But now they are just consumed by CMake, added to project building (/DEF:...)
and not visible in solution.

Is it possible to add .def files to project file tree in Visual Studio?

Steps to Reproduce: 
a.cpp:
void a(){}

a.def:
EXPORTS a

CMakeLists.txt
add_library(a SHARED a.cpp a.def)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-12-17 11:26 patep          New Issue                                    
======================================================================



More information about the cmake-developers mailing list