[CMake] Setting Visual Studio Pre-Link Events with CMAKE

Barnes, James R. (LARC-D107)[ARINC] james.r.barnes at nasa.gov
Tue Oct 7 15:00:46 EDT 2008


Is there anyway to set a Visual Studio Build Pre-Link Event command from
a list file?  I'm currently using a small utility program that uses
DUMPBIN to strip out all the public methods from the object files to
create the project's DEF file in creating a DLL. 

 

The .vcproj file would have the following entry if it was set:

 

<Tool

Name="VCPreLinkEventTool"

      Description="Generate $(ProjectName) def file"

 
CommandLine="$(BASEPATH)\local\windows\gendef\$(ConfigurationName)\gende
f $(ConfigurationName)\$(InputName).def $(TargetFileName)
$(IntDir)\*.obj"

/>

 

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081007/e18dddd9/attachment.htm>


More information about the CMake mailing list