forked from OpenCPN/OpenCPN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenCPN#7 from jongough/boundary
Boundary
- Loading branch information
Showing
4 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#define PLUGIN_VERSION_MAJOR 0 | ||
#define PLUGIN_VERSION_MINOR 1 | ||
#define PLUGIN_VERSION_PATCH 001 | ||
#define PLUGIN_VERSION_DATE "2015-01-28" | ||
#define PLUGIN_VERSION_MAJOR 0 | ||
#define PLUGIN_VERSION_MINOR 1 | ||
#define PLUGIN_VERSION_PATCH 001 | ||
#define PLUGIN_VERSION_DATE "2015-01-28" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
Readme.doc | ||
--------------- | ||
|
||
ocpn_draw_pi | ||
-------------------------------- | ||
|
||
|
||
Compiling for Windows | ||
------------------------------ | ||
1. Must be installed with the most current version of Opencpn V4.1 beta as it is being actively developed. | ||
2. Must be compiled with the most recent version of opencpn.lib from V4.1 beta, placed into the "build" directory. | ||
3. Must be compiled when on the origin/boundary branch which is the branch being worked upon currently. | ||
==================== | ||
First from the command prompt change directory to your plugin compile directory, for me that is | ||
cd C:\Users\Frederick\Documents\OpenCPN-Data\o-plugin | ||
|
||
Then git clone Jon's jongough repository named ocpn_draw_pi | ||
git clone git://github.com/jongough/ocpn_draw_pi.git ocpn_draw_pi | ||
|
||
Then | ||
cd ocpn_draw_pi | ||
git fetch -all | ||
git branch -va | ||
|
||
Then to set up the local branch using the remote | ||
|
||
If you want the latest code: | ||
git checkout -b boundary origin/boundary | ||
Result: Branch boundary set up to track remote branch boundary from origin. | ||
Switched to a new branch 'boundary' | ||
If you want the more stable code: | ||
git checkout -b master origin/master | ||
Result: Branch master set up to track remote master from origin. | ||
Switched to a new branch 'master' | ||
|
||
|
||
|
||
Next copy the file "opencpn.lib" from the most recent Opencpn Version 4.1 | ||
to the 'build' directory. | ||
|
||
Then | ||
cmake .. | ||
cmake --build . | ||
cmake --build . --config release | ||
|
||
If you have NSIS installed | ||
cpack | ||
|
||
Then install the plugin as Debug or Release version (appropriately) into the current OpenCPN v4.1 | ||
---------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters