Worked on NT distribution

This commit is contained in:
Stefan Ritt 2014-12-23 17:14:01 +01:00
parent a285f6d7a6
commit 27826ebb5b
12 changed files with 18 additions and 26 deletions

BIN
NT/Release/elconv.exe Normal file

Binary file not shown.

BIN
NT/Release/elog.exe Normal file

Binary file not shown.

BIN
NT/Release/elogd.exe Normal file

Binary file not shown.

View File

@ -55,7 +55,7 @@
</Midl> </Midl>
<ClCompile> <ClCompile>
<Optimization>Disabled</Optimization> <Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>\openssl\include;\mxml;\krb5\inc\krb5;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>\openssl\include;\mxml;\krb5\inc\krb5;\elog;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;HAVE_SSL;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;HAVE_SSL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@ -165,8 +165,6 @@
<None Include="..\doc\config.html" /> <None Include="..\doc\config.html" />
<None Include="..\doc\index.html" /> <None Include="..\doc\index.html" />
<None Include="..\doc\index_nd.html" /> <None Include="..\doc\index_nd.html" />
<None Include="..\scripts\fckeditor\fckelog.js" />
<None Include="..\scripts\fckeditor\editor\plugins\elog\fckplugin.js" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\..\mxml\mxml.h" /> <ClInclude Include="..\..\mxml\mxml.h" />

View File

@ -17,9 +17,6 @@
<UniqueIdentifier>{f61d8ff6-47d2-4a74-9ee5-287870f8f9e6}</UniqueIdentifier> <UniqueIdentifier>{f61d8ff6-47d2-4a74-9ee5-287870f8f9e6}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl</Extensions> <Extensions>h;hpp;hxx;hm;inl</Extensions>
</Filter> </Filter>
<Filter Include="FCKedit">
<UniqueIdentifier>{f1a62f8d-a52e-459b-9dae-727ade5fa0eb}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\src\elogd.c"> <ClCompile Include="..\src\elogd.c">
@ -66,12 +63,6 @@
<None Include="..\doc\index.html"> <None Include="..\doc\index.html">
<Filter>Documentation</Filter> <Filter>Documentation</Filter>
</None> </None>
<None Include="..\scripts\fckeditor\fckelog.js">
<Filter>FCKedit</Filter>
</None>
<None Include="..\scripts\fckeditor\editor\plugins\elog\fckplugin.js">
<Filter>FCKedit</Filter>
</None>
<None Include="..\scripts\im.js" /> <None Include="..\scripts\im.js" />
<None Include="..\doc\index_nd.html"> <None Include="..\doc\index_nd.html">
<Filter>Documentation</Filter> <Filter>Documentation</Filter>

BIN
NT/msvcr100.dll Normal file

Binary file not shown.

BIN
NT/msvcr110.dll Normal file

Binary file not shown.

BIN
NT/msvcr90.dll Normal file

Binary file not shown.

View File

@ -4,6 +4,8 @@ rem Build ELOG distribution
set version=%1 set version=%1
call makegit.bat
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /I "\openssl\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /D "HAVE_SSL" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC src\elogd.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /I "\openssl\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /D "HAVE_SSL" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC src\elogd.c
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /w /nologo /c /Zi /TC src\regex.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /w /nologo /c /Zi /TC src\regex.c
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /w /nologo /c /Zi /TC src\crypt.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /w /nologo /c /Zi /TC src\crypt.c
@ -11,19 +13,19 @@ cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SEC
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC \mxml\mxml.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC \mxml\mxml.c
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC \mxml\strlcpy.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC \mxml\strlcpy.c
link "/OUT:.\NT\Release/elogd.exe" /INCREMENTAL:NO /DEBUG /SUBSYSTEM:CONSOLE /STACK:4000000 /MACHINE:X86 wsock32.lib advapi32.lib ".\NT\Release\elogd.obj" ".\NT\Release\mxml.obj" ".\NT\Release\regex.obj" ".\NT\Release\crypt.obj" ".\NT\Release\auth.obj" ".\NT\Release\strlcpy.obj" "\openssl\lib\vc\ssleay32MD.lib" "\openssl\lib\vc\libeay32MD.lib" "\krb5\lib\i386\krb5_32.lib" link "/OUT:.\NT\Release/elogd.exe" /INCREMENTAL:NO /DEBUG /SUBSYSTEM:CONSOLE /STACK:4000000 /MACHINE:X86 wsock32.lib advapi32.lib ".\NT\Release\elogd.obj" ".\NT\Release\mxml.obj" ".\NT\Release\regex.obj" ".\NT\Release\crypt.obj" ".\NT\Release\auth.obj" ".\NT\Release\strlcpy.obj" "\openssl\lib\vc\ssleay32MD.lib" "\openssl\lib\vc\libeay32MD.lib"
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /I "\openssl\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /D "HAVE_SSL" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC src\elog.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /I "\openssl\include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /D "HAVE_SSL" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC src\elog.c
link "/OUT:.\NT\Release/elog.exe" /INCREMENTAL:NO /DEBUG /SUBSYSTEM:CONSOLE /MACHINE:X86 wsock32.lib ".\NT\Release\elog.obj" ".\NT\Release\crypt.obj" "\openssl\lib\vc\ssleay32MD.lib" "\openssl\lib\vc\libeay32MD.lib" link "/OUT:.\NT\Release/elog.exe" /INCREMENTAL:NO /DEBUG /SUBSYSTEM:CONSOLE /MACHINE:X86 wsock32.lib ".\NT\Release\elog.obj" ".\NT\Release\crypt.obj" ".\NT\Release\strlcpy.obj" "\openssl\lib\vc\ssleay32MD.lib" "\openssl\lib\vc\libeay32MD.lib"
cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC src\elconv.c cl /O2 /Ob2 /Oi /Ot /I "\mxml" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /GF /FD /EHsc /MT /Gy /Fo".\NT\Release/" /W3 /nologo /c /Zi /TC src\elconv.c
link "/OUT:.\NT\Release/elconv.exe" /INCREMENTAL:NO /DEBUG /SUBSYSTEM:CONSOLE /MACHINE:X86 wsock32.lib ".\NT\Release\elconv.obj" link "/OUT:.\NT\Release/elconv.exe" /INCREMENTAL:NO /DEBUG /SUBSYSTEM:CONSOLE /MACHINE:X86 wsock32.lib ".\NT\Release\elconv.obj"
"\program files (x86)\NSIS\makensis" /DVERSION=%version% elog.nsi "\program files (x86)\NSIS\makensis" /DVERSION=%version% elog.nsi
scp elog%version%.exe ritt@llc:html/elog/download/windows/ \cygwin\bin\scp elog%version%.exe ritt@llc:html/elog/download/windows/
scp elog%version%.exe ritt@llc:html/elog/download/windows/elog-latest.exe \cygwin\bin\scp elog%version%.exe ritt@llc:html/elog/download/windows/elog-latest.exe
scp doc/*.html ritt@llc:html/elog/ \cygwin\bin\scp doc/*.html ritt@llc:html/elog/
scp doc/index_nd.html ritt@llc:html/elog/index.html \cygwin\bin\scp doc/index_nd.html ritt@llc:html/elog/index.html
ssh ritt@llc chmod 666 html/elog/download/windows/elog%version%.exe \cygwin\bin\ssh ritt@llc chmod 666 html/elog/download/windows/elog%version%.exe
ssh ritt@llc chmod 666 html/elog/download/windows/elog-latest.exe \cygwin\bin\ssh ritt@llc chmod 666 html/elog/download/windows/elog-latest.exe

View File

@ -75,6 +75,7 @@ Section "ELOG system (required)" SecSystem
File \windows\system32\ssleay32.dll File \windows\system32\ssleay32.dll
File nt\msvcr90.dll File nt\msvcr90.dll
File nt\msvcr100.dll File nt\msvcr100.dll
File nt\msvcr110.dll
; doc directory ; doc directory
SetOutPath $INSTDIR\doc SetOutPath $INSTDIR\doc
@ -82,9 +83,7 @@ Section "ELOG system (required)" SecSystem
; script directory ; script directory
SetOutPath $INSTDIR\scripts SetOutPath $INSTDIR\scripts
File /r /x .svn /x fckeditor.zip /x fckeditor_dist scripts\*.* File /r scripts\*.*
SetOutPath $INSTDIR\scripts\fckeditor
File /r scripts\fckeditor_dist\*.*
; resources directory ; resources directory
SetOutPath $INSTDIR\resources SetOutPath $INSTDIR\resources
@ -125,11 +124,11 @@ Section "ELOG system (required)" SecSystem
themesNotOverwrite: themesNotOverwrite:
; demo logbook ; demo logbook
IfFileExists $INSTDIR\logbooks\demo\011108a.log 0 logbNotExist IfFileExists $INSTDIR\logbooks\demo\2001\011108a.log 0 logbNotExist
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to overwrite your existing demo logbook?" IDNO logbNotOverwrite MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to overwrite your existing demo logbook?" IDNO logbNotOverwrite
logbNotExist: logbNotExist:
SetOutPath $INSTDIR\logbooks\demo SetOutPath $INSTDIR\logbooks\demo\2001
File logbooks\demo\* File logbooks\demo\2001\*
logbNotOverwrite: logbNotOverwrite:
SetOutPath $INSTDIR SetOutPath $INSTDIR

1
makegit Normal file
View File

@ -0,0 +1 @@
echo \#define GIT_REVISION \"`git log -n 1 --pretty=format:'%ad - %h' --date=short`\"

1
makegit.bat Normal file
View File

@ -0,0 +1 @@
/cygwin/bin/sh -c /cygdrive/c/elog/makegit > c:\elog\git-revision.h