☰
Current Page
Main Menu
Home
Home
Editing
MSVCProductivity
Edit
Preview
h1
h2
h3
Keybinding
default
vim
emacs
Markup
Markdown
Plain Text
Pod
RDoc
reStructuredText
AsciiDoc
BibTeX
Creole
MediaWiki
Org-mode
Textile
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
--- title: MSVCProductivity --- # Extract data from vcxproj files ## List of source files ```shell #!/bin/sh xmlstarlet sel -t -c 'Project/ItemGroup/ClCompile' -i "contains(Include,'.cpp')" -o "ClCompile" -n  libVinoDriverUnitTests.vcxproj ``` # Preprocess-only * Trying to get an MSVC project to produce pre-processed files as \*output\* of the build process. * Specifically for integrating [c-msggen][2]. ## VCProj <Configuration Name="Debug|Win32" OutputDirectory="$(SolutionDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" ConfigurationType="4" CharacterSet="1" WholeProgramOptimization="1" ExcludeBuckets="3;5;6;8;9;10;11;13;15;16;18;21" > <Tool Name="VCPreBuildEventTool" /> <Tool Name="VCCustomBuildTool" /> <Tool Name="VCXMLDataGeneratorTool" /> <Tool Name="VCWebServiceProxyGeneratorTool" /> <Tool Name="VCMIDLTool" /> <Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../../../ThirdPartyTools;../../../Common" PreprocessorDefinitions="_DEBUG;_LIB;KINEMATICS_PROTOTYPE" RuntimeLibrary="1" EnableFunctionLevelLinking="true" UsePrecompiledHeader="0" PrecompiledHeaderThrough="" PrecompiledHeaderFile="$(IntDir)\$(TargetName).pch" WarningLevel="3" DebugInformationFormat="3" CompileAs="2" /> <Tool Name="VCManagedResourceCompilerTool" /> <Tool Name="VCResourceCompilerTool" /> <Tool Name="VCPreLinkEventTool" /> <Tool Name="VCLibrarianTool" /> <Tool Name="VCALinkTool" /> <Tool Name="VCXDCMakeTool" /> <Tool Name="VCBscMakeTool" /> <Tool Name="VCFxCopTool" /> <Tool Name="VCPostBuildEventTool" /> </Configuration> * Possibly WholeProgramOptimization, ExcludeBuckets or EnableFunctionLevelLinking have something to do with the fix. [1]: MSVCProductivity?action=sourceblock&num=1 [2]: http://github.com/cognomen/C-MsgGen <!-- vim: filetype=markdown -->
Uploading file...
Sidebar
# SideBar * [Home][1] * [Projects][2] * * * <!-- --> * [Code][3] * [Tech][4] * [Network][5] * [MediaCentre][6] * [UAV][7] * * * <!-- --> * [Travel][8] * [Music][9] * [Horse Riding][10] * [Study][11] * [Games][12] * [Other Activities][13] * * * <!-- --> * [Car][14] * [House][15] * [Watch][16] * [Clothing][17] * [Miscellany][18] * * * [1]: /Home [2]: /Projects [3]: /Code/Code [4]: /Tech/Tech [5]: /Network/Network [6]: /MediaCentre/MediaCentre [7]: /UAV/UAV [8]: /Travel/Travel [9]: /Music/Music [10]: /HorseRiding/HorseRiding [11]: /Study/Study [12]: /Games/Games [13]: /Do/Do [14]: /Car/Car [15]: /House/House [16]: /Watch/Watch [17]: /Clothing/Clothing [18]: /Miscellany/Miscellany <!-- vim: filetype=markdown -->
Edit message:
Cancel