|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Victor Krapivin 2:5080/1003 03 Oct 2007 17:14:41 To : Rinat H. Sadretdinow Subject : Re: О совместимости -------------------------------------------------------------------------------- > А vc2005.awk мне дядя Пушкин будет делать? :-) BEGIN{ print "<?xml version=\"1.0\" encoding=\"utf-8\"?>"; print "<VisualStudioProject ProjectType=\"Visual C++\" Version=\"7.10\" Name=\"myCoolProject\" ProjectGUID=\"{any-guid-you-like-here}\">"; print " <Platforms><Platform Name=\"Win32\"/></Platforms>"; print " <Configurations><Configuration Name=\"Release|Win32\" OutputDirectory=\"../.release\" IntermediateDirectory=\"../.release\" ConfigurationType=\"1\" UseOfMFC=\"0\" ATLMinimizesCRunTimeLibraryUsage=\"FALSE\" CharacterSet=\"2\">"; print "<Tool Name=\"VCCLCompilerTool\" Optimization=\"2\" InlineFunctionExpansion=\"1\" AdditionalIncludeDirectories=\"./include,.\" PreprocessorDefinitions=\"WIN32;NDEBUG;_WIN32;_WINDOWS;_WIN32_WINNT=0x0500;_WIN3 2_IE=0x0500;WINDOWS\" StringPooling=\"TRUE\" RuntimeLibrary=\"2\" EnableFunctionLevelLinking=\"TRUE\" PrecompiledHeaderFile="../.release/my.pch" AssemblerListingLocation=\".\../.release\" ObjectFile=\"../.release/\" ProgramDataBaseFileName=\"../.release/\" WarningLevel=\"3\" SuppressStartupBanner=\"TRUE\" CompileAs=\"0\"/>"; print "<Tool Name=\"VCLinkerTool\" OutputFile=\".\../.release/mytarget.exe\" LinkIncremental=\"0\" SuppressStartupBanner=\"TRUE\" ProgramDatabaseFile=\"../.release/mytarget.pdb\" SubSystem=\"1\" TargetMachine=\"1\"/>"; print "<Tool Name=\"VCResourceCompilerTool\" PreprocessorDefinitions=\"NDEBUG\" Culture=\"1049\"/>"; print "</Configuration></Configurations><References></References>"; print "<Files><Filter Name=\"projectfiles\" Filter=\"\">"; } { print "<File RelativePath=\""$1"\">"; print "<FileConfiguration Name=\"Release|Win32\"><Tool Name=\"VCCLCompilerTool\" Optimization=\"2\" AdditionalIncludeDirectories=\"\" PreprocessorDefinitions=\"\"/></FileConfiguration></File>"; } END { print "</Filter></Files><Globals></Globals></VisualStudioProject>"; } Дальше по аналогии сам допилишь. -- Viktor --- Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) * Origin: (http://news.cca.usart.ru/) USURT's FidoNET<->Internet (2:5080/1003) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/3902700fd3fbf.html, оценка из 5, голосов 10
|