-
Notifications
You must be signed in to change notification settings - Fork 72
Visual Studio Windows
Developing on the Windows platform can be very challenging. To simplify builds, Europa comes with pre-defined Visual Studio solution and project files. Each project file corresponds to an individual module while each solution file serves as a wrapper of multiple project files for building and organizing projects. In Europa, static or dynamic libraries can be generated. To use static libraries you will need to use Europa.sln. For dynamic libraries use EuropaDll.sln. Please check your settings prior to attempting a build.
Microsoft Visual Studio 2008 (Standard or Express) Microsoft .Net framework 3.5
- unpack thirdparty\visualstudio
- create a PLASMA_THIRD_PARTY environment variable pointing to where you checked out plasma.ThirdParty
- Start VS2008 (or VS2008 express)
- Open the Europa.sln in PLASMA_HOME (in express you may get some message about the solution file .. just ignore it)
- Set PATH variable to point to libraries
- Set JAVA_HOME, JAVA_INCLUDE, and JAVA_BIN
- set ANT_HOME to %PLASMA_HOME%\ext\ant PATH=%PATH%;%PLASMA_THIRD_PARTY%\pthreads-w32-2-8-0-release\lib;%PLASMA_HOME%\bin;%PLASMA_HOME%\build\lib\debug;%PLASMA_HOME%\build\lib; Note: if you are receiving a missing dll error while building, make sure this setting is correct. Use absolute path names if necessary.
Build->Build Solution (F7)
Debug->Start without Debugger (CTRL + F5)
Note: only solution files have test projects which show output. If you have trouble seeing the output: Find Solution Explorer (usually on the right hand side with all of the projects listed) Click on the Test project (be sure to have Test highlighted) Run Start w/o Debugger from Debug
Windows builds also work with some of the default targets in ant. Currently the following targets are operational:
build clean test dist zip-dist release-dist
Windows builds current support the following arguments to ant:
-Dbuild.libraries="DYNAMIC"
For more information of how Visual Studio is setup for Europa see VisualStudio