{"id":215835,"date":"2014-04-29T11:01:03","date_gmt":"2014-04-29T07:01:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=215835"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=215835","title":{"rendered":"<span class=\"post_title\">\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 (cpp, cs) \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c Visual Studio \u0431\u0435\u0437 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 IDE \u0432 Windows<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0427\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u044f\u0436\u0435\u043b\u043e\u0432\u0435\u0441\u043d\u0443\u044e IDE Visual Studio \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0442\u0435\u0441\u0442\u043e\u0432 \u043a\u043e\u0434\u0430, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u043e\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043d\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0412 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u043e\u0442 Microsoft (cl.exe) \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u043d\u044b\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 IDE (devenv.exe, msdev.exe). \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u043e\u0434 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 (cmd) \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Windows, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u0434 \u0441\u0435\u0431\u044f, \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u043f\u0443\u0442\u0435\u0439 \u043a Visual Studio \u0432 \u0441\u0432\u043e\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. <a name=\"habracut\"><\/a><br \/>  <habracut\/>  <\/p>\n<h5>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f cpp-\u0444\u0430\u0439\u043b\u043e\u0432<\/h5>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f vc++_compile_and_link.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">:: --------------------------------------------------------------------------- :: :: \u041f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435:    :: :: sVSPath     - \u043f\u0443\u0442\u044c \u043a \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 Visual C++,                         :: :: sVSPathName - \u043f\u0443\u0442\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 Visual C++                 :: :: (\u043b\u0438\u0431\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c sVSPath, sVSPathName \u043d\u0438\u0436\u0435 \u0432 \u0444\u0430\u0439\u043b\u0435.:: :: --------------------------------------------------------------------------- :: echo off cls  echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------   :: -------------------------------------- :: ::     \u0418\u043c\u0435\u043d\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 (\u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b)    :: :: -------------------------------------- :: set gavSrc=MySource1.cpp MySource2.cpp   :: -------------------------------------- :: :: \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0434\u043b\u044f Qt :: :: - \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u0439 \u0444\u0430\u0439\u043b,\u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 Q_OBJECT:: :: \u0438\u0437 \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d moc_xxx.cpp :: :: -------------------------------------- :: ::set gavSrcQtMoc=gavQtSignalSlot.h set gavSrcQtMoc=&quot;&quot;  :: -------------------------------------- :: :: \u0412\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430:                    :: ::    6 - VC6,                            :: ::    8 - VC8 (2005),                     :: ::    9 - VC9,                            :: ::   10 - VC10 (2010)                     :: ::   11 - VC11 (2012)                     :: :: -------------------------------------- :: set iCompVer=11   :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438:                      :: ::    0 - release,                        :: ::    1 - debug,                          :: ::    2 - \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439    :: ::        (\u0431\u0435\u0437 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438)                :: :: -------------------------------------- :: set iModeComp=1  :: -------------------------------------- :: ::  \u0424\u043b\u0430\u0433\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:             :: ::      0 - \u043d\u0435\u0442, 1 - \u0435\u0441\u0442\u044c                 :: :: -------------------------------------- :: set bLibQt=0 set bLibCrt=0 set bLibBoost=0  :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438 \u0441 Qt:                   :: ::    0 - shared (\u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f),          :: ::    1 - static (\u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f)            :: :: -------------------------------------- :: set iModeQt=0  :: -------------------------------------- :: :: \u0424\u043b\u0430\u0433\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 WINDDK               :: ::    0 - \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f                 :: ::    1 - WINDDK \u0434\u043b\u044f Win2000, WinXP       :: ::        (\u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0434.\u0431. \u0432\u0435\u0440\u043d\u043e \u0437\u0430\u0434\u0430\u043d\u044b:: ::         gavIncPathDdkXP,gavLibPathDdkXP:: ::         - \u0441\u043c. \u043d\u0438\u0436\u0435)                    :: :: -------------------------------------- :: set iWinddk=0  :: -------------------------------------- :: ::    \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043b\u0430\u0433\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430    :: ::   ( \u0434\u0435\u0444\u0430\u0439\u043d\u044b \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0442\u0430\u043a: -D\u0434\u0435\u0444\u0430\u0439\u043d )   :: :: -------------------------------------- :: ::set gavCompilFlags=-Dtest   :: -------------------------------------- :: ::     \u041f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043e\u0434\u043d\u0430 \u0438\u0437)    :: :: -------------------------------------- :: :: Win32 character-mode application:  set gavSubsystem=CONSOLE :: Application does not require a console: ::set gavSubsystem=WINDOWS :: Device drivers for Windows NT: ::set gavSubsystem=NATIVE :: Application that runs with the POSIX subsystem in Windows NT: ::set gavSubsystem=POSIX :: Application that runs on a Windows CE device: ::set gavSubsystem=WINDOWSCE    :: -------------------------------------- :: ::          \u041f\u0443\u0442\u0438 \u043a Visual Studio.         :: ::          !!! \u0431\u0435\u0437 \u043a\u0430\u0432\u044b\u0447\u0435\u043a !!!           :: :: -------------------------------------- :: :: VS6 (!! \u041f\u0443\u0442\u044c \u043a \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443 VS6 \u0434.\u0431. \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c \u0438 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u0432 - \u0438\u043d\u0430\u0447\u0435 \u043e\u0448\u0438\u0431\u043a\u0430 \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438) if %iCompVer%==6 set sVSPath=C:\\Progs\\VC98 if %iCompVer%==6 set sVSPathName=%sVSPath%\\bin\\cl.exe  :: VS8  if %iCompVer%==8 set sVSPath=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 8\\VC if %iCompVer%==8 set sVSPathName=%sVSPath%\\bin\\cl.exe  :: VS9 if %iCompVer%==9 set sVSPath=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 9.0\\VC if %iCompVer%==9 set sVSPathName=%sVSPath%\\bin\\cl.exe  :: VS10 if %iCompVer%==10 set sVSPath=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 10.0\\VC if %iCompVer%==10 set sVSPathName=%sVSPath%\\bin\\cl.exe                    :: \u0434\u043e\u043f.\u043f\u0443\u0442\u0438 \u0434\u043b\u044f VS2010: if %iCompVer%==10 set gavIncPathMy=%SYSTEMDRIVE%\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Include if %iCompVer%==10 set gavLibPathMy=%SYSTEMDRIVE%\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\Lib  :: VS11 if %iCompVer%==11 set sVSPath=%SYSTEMDRIVE%\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC if %iCompVer%==11 set sVSPathName=%sVSPath%\\bin\\cl.exe                    :: \u0434\u043e\u043f.\u043f\u0443\u0442\u0438 \u0434\u043b\u044f VS2010: if %iCompVer%==11 set gavIncPathMy=%SYSTEMDRIVE%\\Program Files (x86)\\Windows Kits\\8.0\\Include\\um if %iCompVer%==11 set gavIncPathMy2=%SYSTEMDRIVE%\\Program Files (x86)\\Windows Kits\\8.0\\Include\\Shared if %iCompVer%==11 set gavLibPathMy=%SYSTEMDRIVE%\\Program Files (x86)\\Windows Kits\\8.0\\Include\\Lib if %iCompVer%==11 set gavLibPathMy2=%SYSTEMDRIVE%\\Program Files (x86)\\Windows Kits\\8.0\\Lib\\win8\\um\\x86 ::if %iCompVer%==11 set gavLibPathMy2=%SYSTEMDRIVE%\\Program Files (x86)\\Windows Kits\\8.0\\Lib\\win8\\um\\x64  echo Compilator version: VC%iCompVer% echo Compilator path: %sVSPathName%  :: -------------------------------------- :: ::              \u041f\u0443\u0442\u0438 \u043a Boost              :: :: -------------------------------------- :: set BOOST_ROOT=C:\\Progs\\boost\\boost_1_49_0   :: -------------------------------------- :: ::     \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0443\u0442\u0435\u0439 \u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u043c     :: ::  \u0444\u0430\u0439\u043b\u0430\u043c.   \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c     :: ::         \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 !         :: :: -------------------------------------- :: set gavIncPathVS=&quot;%sVSPath%\\include&quot; set gavIncPathQt=&quot;%QTDIR%\\include&quot; set gavIncPathBoost=&quot;%BOOST_ROOT%&quot; set gavIncPathDdkCrt=&quot;C:\\Progs\\WINDDK\\2600.1106\\inc\\crt&quot; set gavIncPathDdkXP=&quot;C:\\Progs\\WINDDK\\2600.1106\\inc\\w2k&quot;  if not &quot;%gavIncPathMy%&quot;==&quot;&quot; (set gavIncPathAll=-I&quot;%gavIncPathMy%&quot;                               if not &quot;%gavIncPathMy2%&quot;==&quot;&quot; (                                                            set gavIncPathAll=-I&quot;%gavIncPathMy%&quot; -I&quot;%gavIncPathMy2%&quot;                                                           )                             ) if %iWinddk%==1 (set gavIncPathAll=%gavIncPathAll% -I%gavIncPathDdkCrt% -I%gavIncPathDdkXP%) if not %gavIncPathVS%==&quot;&quot; (set gavIncPathAll=%gavIncPathAll% -I%gavIncPathVS%) if %bLibQt%==1 (if not %gavIncPathQt%==&quot;&quot; (set gavIncPathAll=%gavIncPathAll% -I%gavIncPathQt%)) if %bLibBoost%==1 (if not %gavIncPathBoost%==&quot;&quot; (set gavIncPathAll=%gavIncPathAll% -I%gavIncPathBoost%)) echo Include pathes: %gavIncPathAll%   :: -------------------------------------- :: ::  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0443\u0442\u0435\u0439 \u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043d\u044b\u043c (.lib) :: ::  \u0444\u0430\u0439\u043b\u0430\u043c.   \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c     :: ::         \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 !         :: :: -------------------------------------- :: set gavLibPathDdkXP=C:\\Progs\\WINDDK\\2600.1106\\lib\\wxp\\i386 set gavLibPathVS=%sVSPath%\\lib  set gavLibPathAll=&quot;&quot; if %iWinddk%==1 (set gavLibPathAll=%gavLibPathAll% \/LIBPATH:&quot;%gavLibPathDdkXP%&quot;) if not &quot;%gavLibPathVS%&quot;==&quot;&quot; (set gavLibPathAll=%gavLibPathAll% \/LIBPATH:&quot;%gavLibPathVS%&quot;) if not &quot;%gavLibPathMy%&quot;==&quot;&quot; (set gavLibPathAll=%gavLibPathAll% \/LIBPATH:&quot;%gavLibPathMy%&quot;                              if not &quot;%gavLibPathMy2%&quot;==&quot;&quot; (                                                            set gavLibPathAll=%gavLibPathAll% \/LIBPATH:&quot;%gavLibPathMy%&quot; \/LIBPATH:&quot;%gavLibPathMy2%&quot;                                                           )                             )  set gavLibPathBoost=&quot;%BOOST_ROOT%\\stage\\lib&quot; if %bLibBoost%==1 (if not %gavLibPathBoost%==&quot;&quot; (set gavLibPathAll=%gavLibPathAll% \/LIBPATH:%gavLibPathBoost%))  set gavLibPathQtReleaseShared=&quot;%QTDIR%\\lib\\release\\shared&quot; set gavLibPathQtReleaseStatic=&quot;%QTDIR%\\lib\\release\\static&quot; set gavLibPathQtDebugShared=&quot;%QTDIR%\\lib\\debug\\shared&quot; set gavLibPathQtDebugStatic=&quot;%QTDIR%\\lib\\debug\\static&quot; if %bLibQt%==1 (                  if %iModeComp%==0 (                                     if %iModeQt%==0 (                                                      echo Qt mode: release shared                                                      set gavLibPathAll=%gavLibPathAll% \/LIBPATH:%gavLibPathQtReleaseShared%                                                     )                                     if %iModeQt%==1 (                                                      echo Qt mode: release static                                                      set gavLibPathAll=%gavLibPathAll% \/LIBPATH:%gavLibPathQtReleaseStatic%                                                     )                                    )                  if %iModeComp%==1 (                                     if %iModeQt%==0 (                                                      echo Qt mode: debug shared                                                      set gavLibPathAll=%gavLibPathAll% \/LIBPATH:%gavLibPathQtDebugShared%                                                     )                                     if %iModeQt%==1 (                                                      echo Qt mode: debug static                                                      set gavLibPathAll=%gavLibPathAll% \/LIBPATH:%gavLibPathQtDebugStatic%                                                     )                                    )                ) echo Lib pathes: %gavLibPathAll%  :: -------------------------------------- :: ::      \u0424\u0430\u0439\u043b\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 run-time.        :: :: \u041f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u044e\u0434\u0430 \u043d\u0443\u0436\u043d\u044b\u0435 :: :: -------------------------------------- :: set gavLibFilesCrt=&quot;&quot; if %bLibCrt%==1 (set gavLibFilesCrt=user32.lib ole32.lib Gdi32.lib Ws2_32.lib Imm32.lib Comdlg32.lib Winspool.lib Advapi32.lib) if not &quot;%gavLibFilesCrt%&quot;==&quot;&quot; (set gavLibFilesAll=%gavLibFilesCrt%)  :: -------------------------------------- :: ::         \u0424\u0430\u0439\u043b\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Qt.           :: :: -------------------------------------- :: set gavLibFilesQtShared=qtmain.lib qt-mt333.lib set gavLibFilesQtStatic=qtmain.lib qt-mt.lib  if %bLibQt%==1 (                 if %iModeQt%==0 (set gavLibFilesAll=%gavLibFilesAll% %gavLibFilesQtShared%)                 if %iModeQt%==1 (set gavLibFilesAll=%gavLibFilesAll% %gavLibFilesQtStatic%)                )  echo Lib files: %gavLibFilesAll%   :: -------------------------------------- :: ::     \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438       :: :: -------------------------------------- :: if %iModeComp%==0 (                set gavLinkMode=\/RELEASE                :: \u0434\u043b\u044f DLL: set gavCompMode=\/MD                set gavCompMode=\/MT                set gavOptimize=\/O2 \/GA               )  if %iModeComp%==1 (                set gavLinkMode=\/DEBUG                :: \u0434\u043b\u044f DLL: set gavCompMode=\/MDd                set gavCompMode=\/MTd                ::set gavOptimize=\/Od \/ZI                set gavOptimize=\/Od \/Z7               )   if %iModeComp%==2 (                set gavLinkMode=                set gavCompMode=                set gavOptimize=\/Zg               )   if %bLibQt%==1 (if %iModeQt%==1 (set gavCompMode=\/MDd))  :: -------------------------------------- :: ::    \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f     :: :: -------------------------------------- :: if not %gavSubsystem%==&quot;&quot; (set gavLinkSubsys=\/SUBSYSTEM:%gavSubsystem%)   :: -------------------------------------- :: ::         \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430          :: :: -------------------------------------- :: if %bLibQt%==1 (                 if %iModeQt%==0 (set gavCompilFlags=%gavCompilFlags% -DQT_DLL)                )  :: -------------------------------------- :: ::        \u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0440\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432          :: :: -------------------------------------- :: set gavOldObj=%gavSrc:.cpp=.obj,% set gavOldObj=%gavOldObj:.c=.obj,% set gavOldAsm=%gavOldObj:.obj=.asm% for \/F &quot;tokens=1&quot; %%A in (&quot;%gavSrc%&quot;) do (set gavMainName=%%A) set gavMainName=%gavMainName:.cpp=% set gavMainName=%gavMainName:.c=% set gavDelExt= %gavMainName%.exe, %gavMainName%.pdb, %gavMainName%.ilk, %gavOldObj% %gavOldAsm% __vc++_%gavMainName%.log echo.  echo Deleting old files: %gavDelExt% ... echo.  del %gavDelExt% echo.  echo ------------------ echo Compiling start... echo ------------------ echo.   if %bLibQt%==1 (if not %gavSrcQtMoc%==&quot;&quot; ( echo ------------------ echo Mocing file...  echo ------------------ echo on %QTDIR%\\bin\\moc %gavSrcQtMoc% -o moc_%gavSrcQtMoc%.cpp @echo off set gavSrc=%gavSrc% moc_%gavSrcQtMoc%.cpp ))  echo on &quot;%sVSPathName%&quot; \/EHsc %gavIncPathAll% %gavCompilFlags% \/Fa %gavSrc% %gavCompMode% %gavOptimize% \/link %gavLinkSubsys% %gavLinkMode% %gavLibPathAll% %gavLibFilesAll%&gt;&quot;__vc++_%gavMainName%.log&quot;  @echo off echo.  echo ------------------ echo Compiling end... echo ------------------ echo.  echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  :: -------------------------------------- :: pause <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 <u>\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e <\/u>\u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438:<br \/>  <b>1)<\/b> \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041f\u0443\u0442\u0438 \u043a Visual Studio\u00bb \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u0443\u0442\u0438 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 Visual Studio (\u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e):   <\/p>\n<ul>\n<li><b>sVSPath<\/b> \u2014 \u043f\u0443\u0442\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 Visual Studio \u0442.\u0435. \u043a \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u0432\u0441\u0435 \u043f\u0440\u043e\u0447\u0438\u0435 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 VS.<\/li>\n<li> <b>gavIncPathMy<\/b> \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0434\u043b\u044f VS 11.0 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0443\u0442\u0438 \u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c.<\/li>\n<\/ul>\n<p>  <b>2)<\/b> \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041f\u0443\u0442\u0438 \u043a Boost\u00bb \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c <b>BOOST_ROOT<\/b> \u2014 \u043f\u0443\u0442\u044c \u043a \u043a\u043e\u0440\u0435\u0432\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Boost (\u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0443 \u0432\u0430\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430).<br \/>  <b>3)<\/b> \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0443\u0442\u0435\u0439 \u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c\u00bb \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u0443\u0442\u0438 \u043a \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u0447\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c Qt, WinDDK.<br \/>  <b>4)<\/b> \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0443\u0442\u0435\u0439 \u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043d\u044b\u043c (.lib) \u0444\u0430\u0439\u043b\u0430\u043c\u00bb \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0443\u0442\u0438 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0434\u043b\u044f WinDDK).<\/p>\n<p>  \u0420\u0435\u0436\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e\u0434 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442:<br \/>  <b>iCompVer<\/b> \u2014 \u0432\u0435\u0440\u0441\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 (6 \u2014 \u0434\u043b\u044f VC6, 8 \u2014 VC8 (2005), 9 \u2014 VC9, 10 \u2014 VC10 (2010), 11 \u2014 VC11 (2012).<br \/>  <b>gavLibFilesQtShared <\/b> \u2014 \u0438\u043c\u0435\u043d\u0430 .lib-\u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Qt;<br \/>  <b>gavLibFilesQtStatic<\/b> \u2014 \u0438\u043c\u0435\u043d\u0430 .lib-\u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u0438\u043d\u043a\u0443\u0435\u043c\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Qt.<br \/>  <b>gavLibFilesCrt<\/b> \u2014 \u0438\u043c\u0435\u043d\u0430 .lib-\u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u0432 Windows.<br \/>  <b>iModeQt<\/b> \u2014 \u0440\u0435\u0436\u0438\u043c \u043b\u0438\u043d\u043a\u043e\u0432\u043a\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Qt.<br \/>  <b>gavCompMode<\/b> \u2014 \u0444\u043b\u0430\u0433\u0438 \u0440\u0435\u0436\u0438\u043c\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 (\u043e\u0434\u043d\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u044b\u0435, \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u044b\u0435 \u0438 \u0442.\u043f.).<br \/>  <b>gavOptimize<\/b> \u2014 \u0444\u043b\u0430\u0433\u0438 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u0434\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c.<\/p>\n<p>  \u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<br \/>  <b>gavSrc<\/b> \u2014 \u0438\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u043c (\u0435\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e).<br \/>  <b>bLibQt<\/b> \u2014 \u0444\u043b\u0430\u0433 (0\/1) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 Qt \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>  <b>bLibCrt<\/b> \u2014 \u0444\u043b\u0430\u0433 (0\/1) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 CRT-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Windows \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>  <b>bLibBoost<\/b> \u2014 \u0444\u043b\u0430\u0433 (0\/1) \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 Boost \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<br \/>  <b>gavSubsystem<\/b> \u2014 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f: CONSOLE \u2014 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0435, WINDOWS \u2014 \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c.<\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 (\u043e\u0448\u0438\u0431\u043a\u0438, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f) \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0444\u0430\u0439\u043b\u0435 __vc++_XXX.log, \u0433\u0434\u0435 XXX \u2014 \u0438\u043c\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430<\/p>\n<h5>\u0421\u0431\u043e\u0440\u043a\u0430 cpp-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/h5>\n<p>  \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0431\u0435\u0437 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 IDE \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0438 \u0432\u043e\u0440\u043a\u0441\u043f\u0435\u0439\u0441\u043e\u0432 (dsp, dsw).  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f vc++_dsp_dsw_compile.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">:: \u041f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e sVSPathName, :: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043f\u0443\u0442\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 Visual Studio \u043b\u0438\u0431\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c  :: \u0438 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c sVSPathName \u043d\u0438\u0436\u0435 \u0432 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435... @echo off cls  echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------  :: -------------------------------------- :: :: \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (dsp) \u0438\u043b\u0438 \u0432\u043e\u043a\u0441\u043f\u0435\u0439\u0441\u0430 (dsw): set sPrjFile=MyWorkspace.dsp  :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438: 0 - release, 1 - debug, 2 - release \u0438 debug: set iMode=2  :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432:  ::        0 - \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432,  ::        1 - \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0432\u0448\u0438\u0445\u0441\u044f \u0444\u0439\u043b\u043e\u0432, ::        2 - \u043f\u043e\u043b\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 iMode=2) set iSubMode=2   :: -------------------------------------- :: :: \u0418\u043c\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438: if %sPrjFile:.dsp=% == %sPrjFile% (    set sPrjName=%sPrjFile:.dsw=%   ) ELSE (    set sPrjName=%sPrjFile:.dsp=%   )  :: \u0418\u043c\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 - \u0434\u043b\u044f \u0440\u0435\u0436\u0438\u043c\u0430 release:  set sConfigNameRelease=&quot;%sPrjName% - Win32 Release&quot; :: \u0418\u043c\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 - \u0434\u043b\u044f \u0440\u0435\u0436\u0438\u043c\u0430 debug:  set sConfigNameDebug=&quot;%sPrjName% - Win32 Debug&quot;   :: -------------------------------------- :: :: \u043f\u0443\u0442\u0438 \u043a Visual Studio: :: set sVSPathName=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 6.0\\Common\\MSDev98\\Bin\\MSDEV.EXE :: set sVSPathName=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 8\\Common7\\IDE\\VCExpress.exe :: set sVSPathName=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe  :: -------------------------------------- :: :: \u041f\u043e\u0434\u0440\u0435\u0436\u0438\u043c:  if %iSubMode%==0 (                set iCompMode=\/CLEAN               )  if %iSubMode%==1 (                set iCompMode=               )   if %iSubMode%==2 (                set iCompMode=\/REBUILD               )   :: -------------------------------------- :: echo.  echo --------------------------------- echo [%sPrjName%]: compiling start... echo --------------------------------- echo.  @echo off  if %iMode%==0 ( :: \u0440\u0435\u0436\u0438\u043c release:  echo [%sPrjName%]: configuration mode: echo     %sConfigNameRelease% echo on &quot;%sVSPathName%&quot; %sPrjFile% \/MAKE %sConfigNameRelease% %iCompMode% \/OUT __vc++_compile_release.log )  @echo off if %iMode%==1 ( :: \u0440\u0435\u0436\u0438\u043c debug:  echo [%sPrjName%]: configuration mode: echo     %sConfigNameDebug% echo on &quot;%sVSPathName%&quot; %sPrjFile% \/MAKE %sConfigNameDebug% %iCompMode% \/OUT __vc++_compile_debug.log )   @echo off if %iMode%==2 ( :: \u0440\u0435\u0436\u0438\u043c release \u0438 debug:  echo [%sPrjName%]: configuration modes:  echo     %sConfigNameRelease% echo     %sConfigNameDebug% echo on &quot;%sVSPathName%&quot; %sPrjFile% \/MAKE %sConfigNameRelease% %iCompMode% \/OUT __vc++_compile_release.log &quot;%sVSPathName%&quot; %sPrjFile% \/MAKE %sConfigNameDebug%   %iCompMode% \/OUT __vc++_compile_debug.log )   @echo off echo.  echo --------------------------------- echo [%sPrjName%]: compiling end. echo --------------------------------- echo.  echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  :: -------------------------------------- :: pause <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h5>\u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f cs-\u0444\u0430\u0439\u043b\u043e\u0432<\/h5>\n<p>  \u0412\u044b\u0448\u0435\u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0438 \u0434\u043b\u044f C#:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f vc#_compile_and_link.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">:: --------------------------------------------------------------------------- :: :: \u041f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435:    :: :: sVSPath     - \u043f\u0443\u0442\u044c \u043a \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 Visual C#,                          :: :: sVSPathName - \u043f\u0443\u0442\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 Visual C#                  :: :: (\u043b\u0438\u0431\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c sVSPath, sVSPathName \u043d\u0438\u0436\u0435 \u0432 \u0444\u0430\u0439\u043b\u0435.:: :: --------------------------------------------------------------------------- :: echo off cls  echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------   :: -------------------------------------- :: ::     \u0418\u043c\u0435\u043d\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432 (\u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b)    :: :: -------------------------------------- :: set gavSrc=Program.cs   :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438:                      :: ::    0 - release,                        :: ::    1 - debug,                          :: :: -------------------------------------- :: set iModeComp=1  :: -------------------------------------- :: ::     \u041f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043e\u0434\u043d\u0430 \u0438\u0437)    :: :: -------------------------------------- :: :: \/target:exe                    \u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e) (\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \/t:exe) set gavSubsystem=exe :: \/target:winexe                 \u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b Windows  (\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \/t:winexe) ::set gavSubsystem=winexe :: \/target:library                \u041f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 (\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \/t:library) ::set gavSubsystem=library :: \/target:module                 \u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0441\u0431\u043e\u0440\u043a\u0443 (\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \/t:module) ::set gavSubsystem=module :: \/target:appcontainerexe        \u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 Appcontainer (\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \/t:appcontainerexe) ::set gavSubsystem=appcontainerexe :: \/target:winmdobj               \u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0441\u0440\u0435\u0434\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f Windows, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e WinMDExp (\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \/t:winmdobj) ::set gavSubsystem=winmdobj  :: -------------------------------------- :: ::      \u041f\u041b\u0410\u0422\u0424\u041e\u0420\u041c\u0410 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f (\u043e\u0434\u043d\u0430 \u0438\u0437)    ::                                   ::    (x86, Itanium, x64, arm \u0438\u043b\u0438 anycpu. :: ::      \u041f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: anycpu.)  :: :: -------------------------------------- :: set gavPlatform=anycpu  :: -------------------------------------- :: ::    \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u043b\u0430\u0433\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430    :: :: -------------------------------------- :: ::set gavCompilFlags=  :: -------------------------------------- :: ::          \u041f\u0443\u0442\u0438 \u043a Visual Studio.         :: ::          !!! \u0431\u0435\u0437 \u043a\u0430\u0432\u044b\u0447\u0435\u043a !!!           :: :: -------------------------------------- ::  set sVSPath=%WINDIR%\\Microsoft.NET\\Framework\\v4.0.30319  set sVSPathName=%sVSPath%\\csc.exe  :: -------------------------------------- :: ::     \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0443\u0442\u0435\u0439 \u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u043c     :: ::  \u0444\u0430\u0439\u043b\u0430\u043c.   \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c     :: ::         \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 !         :: :: -------------------------------------- :: set gavIncPathVS=&quot;%sVSPath%&quot;  if not &quot;%gavIncPathMy%&quot;==&quot;&quot; (set gavIncPathAll=-I&quot;%gavIncPathMy%&quot;) if not %gavIncPathVS%==&quot;&quot; (set gavIncPathAll=%gavIncPathAll% -I%gavIncPathVS%) echo Include pathes: %gavIncPathAll%   :: -------------------------------------- :: ::  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0443\u0442\u0435\u0439 \u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043d\u044b\u043c (.lib) :: ::  \u0444\u0430\u0439\u043b\u0430\u043c.   \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c     :: ::         \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 !         :: :: -------------------------------------- :: set gavLibPathVS=%sVSPath% if not &quot;%gavLibPathVS%&quot;==&quot;&quot; (set gavLibPathAll=\/lib:&quot;%gavLibPathVS%&quot;) if not &quot;%gavLibPathMy%&quot;==&quot;&quot; (set gavLibPathAll=%gavLibPathAll% \/lib:&quot;%gavLibPathMy%&quot;)  echo Lib pathes: %gavLibPathAll%  :: -------------------------------------- :: ::      \u0424\u0430\u0439\u043b\u044b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 run-time.        :: :: \u041f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u044e\u0434\u0430 \u043d\u0443\u0436\u043d\u044b\u0435 :: :: -------------------------------------- :: :: set gavLibFilesCrt=user32.lib ole32.lib Gdi32.lib Ws2_32.lib Imm32.lib Comdlg32.lib Winspool.lib Advapi32.lib ::set gavLibFilesCrt=&quot;&quot; if not &quot;%gavLibFilesCrt%&quot;==&quot;&quot; (set gavLibFilesAll=%gavLibFilesCrt%)  echo Lib files: %gavLibFilesAll%   :: -------------------------------------- :: ::     \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u0435\u0436\u0438\u043c\u043e\u0432 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438       :: :: -------------------------------------- :: if %iModeComp%==0 (                set gavCompilFlags=%gavCompilFlags% \/D:_RELEASE                 set gavCompMode=\/debug-                set gavOptimize=\/optimize+               )  if %iModeComp%==1 (                set gavCompilFlags=%gavCompilFlags% \/D:_DEBUG                 set gavCompMode=\/debug+                set gavOptimize=\/optimize-               )   :: -------------------------------------- :: ::    \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f     :: :: -------------------------------------- :: if not %gavSubsystem%==&quot;&quot; (set gavLinkSubsys=\/t:%gavSubsystem%)   :: -------------------------------------- :: set gavDelExt=*.obj, *.exe, *.log, *.pdb echo.  echo Deleting old files: %gavDelExt% ... echo.  del %gavDelExt% echo.  echo ------------------ echo Compiling start... echo ------------------ echo.   echo on &quot;%sVSPathName%&quot; %gavDefine% %gavCompilFlags% %gavCompMode% %gavOptimize% %gavLinkSubsys% \/utf8output \/fullpaths \/platform:%gavPlatform% %gavLibPathAll% %gavLibFilesAll% %gavSrc%&gt;__vc#_compile.log  @echo off echo.  echo ------------------ echo Compiling end... echo ------------------ echo.  echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  :: -------------------------------------- :: pause <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h5>\u0421\u0431\u043e\u0440\u043a\u0430 cs-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u043e\u043b\u044e\u0448\u0435\u043d\u043e\u0432 (sln) \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 (csproj)<\/h5>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041a\u043e\u0434 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f vc#_sln_csproj_compile.cmd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">:: \u041f\u0435\u0440\u0435\u0434 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e sVSPathName, :: \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043f\u0443\u0442\u044c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u043d\u0438\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 Visual Studio \u043b\u0438\u0431\u043e \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c  :: \u0438 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c sVSPathName \u043d\u0438\u0436\u0435 \u0432 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435... @echo off cls  echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------  :: -------------------------------------- :: :: \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (.csproj) \u0438\u043b\u0438 \u0432\u043e\u043a\u0441\u043f\u0435\u0439\u0441\u0430 (sln): set sPrjFile=MyProject.csproj  :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438: 0 - release, 1 - debug, 2 - release \u0438 debug: set iMode=2  :: -------------------------------------- :: :: \u0420\u0435\u0436\u0438\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432:  ::        0 - \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432,  ::        1 - \u043f\u0435\u0440\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u0432\u0448\u0438\u0445\u0441\u044f \u0444\u0439\u043b\u043e\u0432, ::        2 - \u043f\u043e\u043b\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 iMode=2) set iSubMode=2   :: -------------------------------------- :: :: \u0418\u043c\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438: if %sPrjFile:.sln=% == %sPrjFile% (    set sPrjName=%sPrjFile:.sln=%   ) ELSE (    set sPrjName=%sPrjFile:.csproj=%   )  :: \u0418\u043c\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 - \u0434\u043b\u044f \u0440\u0435\u0436\u0438\u043c\u0430 release:  :: set sConfigNameRelease=&quot;Release|Win32&quot; set sConfigNameRelease=&quot;Release&quot; :: \u0418\u043c\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 - \u0434\u043b\u044f \u0440\u0435\u0436\u0438\u043c\u0430 debug:  :: set sConfigNameDebug=&quot;Debug|Win32&quot; set sConfigNameDebug=&quot;Debug&quot;   :: -------------------------------------- :: :: \u043f\u0443\u0442\u0438 \u043a Visual Studio: set sVSPathName=%SYSTEMDRIVE%\\Program Files (x86)\\Microsoft Visual Studio\\11.0\\Common7\\IDE\\devenv.exe :: set sVSPathName=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 8\\Common7\\IDE\\VCExpress.exe :: set sVSPathName=%SYSTEMDRIVE%\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe  :: -------------------------------------- :: :: \u041f\u043e\u0434\u0440\u0435\u0436\u0438\u043c:  if %iSubMode%==0 (                set iCompMode=\/Clean               )  if %iSubMode%==1 (                set iCompMode=               )   if %iSubMode%==2 (                set iCompMode=\/Rebuild               )   :: -------------------------------------- :: echo.  echo --------------------------------- echo [%sPrjName%]: compiling start... echo --------------------------------- echo.  @echo off  if %iMode%==0 ( :: \u0440\u0435\u0436\u0438\u043c release:  echo [%sPrjName%]: configuration mode: echo     %sConfigNameRelease% echo on &quot;%sVSPathName%&quot; %sPrjFile% \/Build %sConfigNameRelease% \/Out __vc#_compile_release.log )  @echo off if %iMode%==1 ( :: \u0440\u0435\u0436\u0438\u043c debug:  echo [%sPrjName%]: configuration mode: echo     %sConfigNameDebug% echo on &quot;%sVSPathName%&quot; %sPrjFile% \/Build %sConfigNameDebug%   \/Out __vc#_compile_debug.log )   @echo off if %iMode%==2 ( :: \u0440\u0435\u0436\u0438\u043c release \u0438 debug:  echo [%sPrjName%]: configuration modes:  echo     %sConfigNameRelease% echo     %sConfigNameDebug% echo on &quot;%sVSPathName%&quot; %sPrjFile% \/Build %sConfigNameRelease% \/Out __vc#_compile_release.log &quot;%sVSPathName%&quot; %sPrjFile% \/Build %sConfigNameDebug%   \/Out __vc#_compile_debug.log Rem \/project lxDbLib.csproj \/projectconfig Debug  )   @echo off echo.  echo --------------------------------- echo [%sPrjName%]: compiling end. echo --------------------------------- echo.  echo --------------------------------------  echo ------ %date% [%time%] ------ echo --------------------------------------  echo ---------- .:: -=LEXX=- ::. ---------- echo --------------------------------------  :: -------------------------------------- :: pause <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043a\u043e\u043c\u043f\u0435\u043d\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u0412\u0441\u0435\u043c \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f!!! \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/215835\/\"> http:\/\/habrahabr.ru\/post\/215835\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0427\u0430\u0441\u0442\u0435\u043d\u044c\u043a\u043e \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u044f\u0436\u0435\u043b\u043e\u0432\u0435\u0441\u043d\u0443\u044e IDE Visual Studio \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0442\u0435\u0441\u0442\u043e\u0432 \u043a\u043e\u0434\u0430, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u043e\u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043d\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u0412 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u043e\u0442 Microsoft (cl.exe) \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u043d\u044b\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 IDE (devenv.exe, msdev.exe). \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u043e\u0434 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 (cmd) \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Windows, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043f\u043e\u0434 \u0441\u0435\u0431\u044f, \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u043f\u0443\u0442\u0435\u0439 \u043a Visual Studio \u0432 \u0441\u0432\u043e\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-215835","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/215835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215835"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/215835\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}