2014-07-08 14:28:18 -07:00
|
|
|
How To Compile/Build AppleWin
|
|
|
|
=============================
|
|
|
|
|
|
|
|
0. Install git
|
|
|
|
|
|
|
|
1. Clone the repository
|
|
|
|
|
|
|
|
git clone https://github.com/AppleWin/AppleWin.git
|
|
|
|
|
|
|
|
2. Download the Feb 2010 DirectX SDK
|
|
|
|
(It is the last version to have DirectDraw)
|
|
|
|
|
|
|
|
http://www.microsoft.com/en-us/download/details.aspx?id=10084
|
|
|
|
|
|
|
|
3. Add ddraw.lib to the linker include path:
|
|
|
|
|
2016-12-26 21:56:56 -05:00
|
|
|
AppleWin project, Right-Click Properties, Linker, General, Additional Library Directories
|
2014-07-08 14:28:18 -07:00
|
|
|
|
|
|
|
The default path is:
|
|
|
|
C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Lib\x86
|
|
|
|
|
2017-07-01 09:03:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
How to do a Coverity Scan of AppleWin
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
1. Download Coverity Scan Self-Build:
|
|
|
|
https://scan.coverity.com/download?tab=cxx
|
|
|
|
|
|
|
|
Unzip and add the bin directory to your path
|
|
|
|
|
|
|
|
2. Launch VS2008 Express / Professional
|
|
|
|
|
|
|
|
3. Tools -> Visual Studio 2008 Command Prompt
|
|
|
|
|
|
|
|
VS 2008 Express:
|
|
|
|
----------------
|
|
|
|
|
|
|
|
4. Set env vars:
|
|
|
|
set include=%include%;<DirectX SDK 9.0 SDK include path>
|
|
|
|
set lib=%lib%;<DirectX SDK 9.0 SDK lib path>
|
|
|
|
|
|
|
|
EG:
|
|
|
|
set include=%include%;C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Include
|
|
|
|
set lib=%lib%;C:\Program Files (x86)\Microsoft DirectX SDK (February 2010)\Lib\x86
|
|
|
|
|
|
|
|
5. Clean & build:
|
|
|
|
vcbuild /clean AppleWinExpress2008.sln "Release|Win32"
|
|
|
|
cov-build --dir cov-int vcbuild /u AppleWinExpress2008.sln "Release|Win32"
|
|
|
|
|
|
|
|
VS 2008 Professional:
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
4. Set env vars:
|
|
|
|
N/A
|
|
|
|
|
|
|
|
5. Clean & build:
|
|
|
|
devenv AppleWinExpress2008.sln /clean
|
|
|
|
cov-build --dir cov-int devenv AppleWinExpress2008.sln /build release
|