-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Now compiles on Windows w/ MINGW 4.8 #3
Open
msis
wants to merge
13
commits into
themoos:devel
Choose a base branch
from
msis:devel
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4feaad9
Now compiles on Windows using mingw 4.8
msis 3754e7a
Merge pull request #1 from themoos/devel
msis 8fcd77c
Adds CI scripts.
msis 736ad9f
Corrects a previously signaled problem by @jlblancoc a couple of year…
msis 25aa78a
Automatically checks out the right branch of core-moos.
msis 31d3a51
Adds sudo to hopefully install on Linux. Correts a bug in the AppVeyo…
msis 986e6e9
The joy of AppVeyor :p
msis 1897426
Removes the flags as they seem to pose an issue.
msis d171477
pMOOSBridge doesn't seem to compile w/ MSVC.
msis 748742c
Merge branch 'devel' of https://github.com/msis/essential-moos into d…
msis 1d75552
Adds README file.
msis 184fa41
Setting the table right.
msis 934292f
missing spaces in the table.
msis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
language: cpp | ||
|
||
sudo: required | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
compiler: | ||
- gcc | ||
|
||
env: | ||
- BUILD_TYPE=Release | ||
|
||
before_script: | ||
- if [ "`uname`" != "Darwin" ] ; then export MOOS_CXX_FLAGS="-fPIC -Wno-long-long"; fi | ||
- cd .. | ||
- git clone -b wOnlineCI --depth=1 https://github.com/msis/core-moos | ||
- cd core-moos | ||
- mkdir build | ||
- cd build | ||
- cmake -DENABLE_EXPORT=ON -DUSE_ASYNC_COMMS=ON -DTIME_WARP_AGGLOMERATION=0.4 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=$MOOS_CXX_FLAGS .. | ||
- cmake --build . --config Release | ||
- sudo cmake --build . --config Release --target install | ||
- cd $TRAVIS_BUILD_DIR | ||
- mkdir build/ | ||
|
||
|
||
script: | ||
- cd build/ | ||
- cmake -DBUILD_CONSOLE_TOOLS=ON -DBUILD_GRAPHICAL_TOOLS=ON -DBUILD_UPB=ON -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=$MOOS_CXX_FLAGS ../ | ||
- cmake --build . --config Release | ||
|
||
after_script: | ||
- sudo cmake --build . --config Release --target install |
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
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
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
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,12 @@ | ||
Essential-MOOS | ||
============== | ||
Essential-MOOS contains some useful tools for robotics to use with [Core-MOOS](https://github.com/themoos/core-moos) for Robotics purposes. | ||
|
||
# Build Statuses | ||
|OS |Build Status| | ||
|:--------|-----------:| | ||
|Linux/OSX|[![Build Status](https://travis-ci.org/msis/essential-moos.svg?branch=devel)](https://travis-ci.org/msis/essential-moos)| | ||
|Windows |[![Build status](https://ci.appveyor.com/api/projects/status/d3cm6s8l6lko5q6e?svg=true)](https://ci.appveyor.com/project/msis/essential-moos)| | ||
|
||
# Build Instructions | ||
(TODO, for now please refer to `.travis.yml` file for Linux/OSX and `appveyor.yml` for Windows.) |
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,40 @@ | ||
version: devel-{build} | ||
|
||
platform: | ||
- x64 | ||
- x86 | ||
|
||
environment: | ||
matrix: | ||
- BUILD_TYPE: cmake | ||
VS_VERSION: Visual Studio 11 2012 | ||
|
||
- BUILD_TYPE: cmake | ||
VS_VERSION: Visual Studio 12 2013 | ||
|
||
- BUILD_TYPE: cmake | ||
VS_VERSION: Visual Studio 14 2015 | ||
|
||
shallow_clone: true | ||
|
||
init: | ||
- if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% Win64 | ||
- if "%platform%" == "x86" SET VS_FULL=%VS_VERSION% | ||
- cd .. | ||
- git clone -b wOnlineCI --depth=1 https://github.com/msis/core-moos | ||
- cd core-moos | ||
- mkdir build | ||
- cd build | ||
- cmake -G "%VS_FULL%" -DENABLE_EXPORT=ON -DUSE_ASYNC_COMMS=ON -DTIME_WARP_AGGLOMERATION=0.4 -DCMAKE_BUILD_TYPE=$BUILD_TYPE ../ | ||
- cmake --build . --config Release | ||
- cmake --build . --config Release --target install | ||
- cd %APPVEYOR_BUILD_FOLDER% | ||
- mkdir build | ||
|
||
build_script: | ||
- cd build | ||
- cmake -G "%VS_FULL%" -DBUILD_CONSOLE_TOOLS=ON -DBUILD_GRAPHICAL_TOOLS=ON -DBUILD_UPB=ON -DCMAKE_BUILD_TYPE=$BUILD_TYPE ../ | ||
- cmake --build . --config Release | ||
|
||
on_success: | ||
- cmake --build . --config Release --target install |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the pull request! You saved me duplicating half the effort (half, until I realized someone else already did it!).
Just a comment: on this CMakeLists.txt file, I would rather add conditionally to be in WIN32, just in case it breaks UNIXes builds which seem to work as is...