-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
2,710 additions
and
51 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 |
---|---|---|
|
@@ -15,10 +15,8 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | |
#brew unlink cmake | ||
brew update | ||
|
||
# OSX has: | ||
# apple-gcc42 | ||
brew tap homebrew/versions | ||
brew install gcc48 | ||
brew install [email protected] | ||
|
||
else | ||
sudo apt-get -qq update | ||
|
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,21 @@ | ||
#!/bin/sh | ||
|
||
# OgmaNeo | ||
# Copyright(c) 2016 Ogma Intelligent Systems Corp. All rights reserved. | ||
# | ||
# This copy of OgmaNeo is licensed to you under the terms described | ||
# in the OGMANEO_LICENSE.md file included in this distribution. | ||
|
||
set -ex | ||
|
||
#---------------------------------------- | ||
# Install the latest SWIG | ||
cd $TRAVIS_BUILD_DIR | ||
|
||
if [ $TRAVIS_OS_NAME == 'osx' ]; then | ||
brew upgrade pcre | ||
brew install swig | ||
else | ||
sudo apt install libpcre3 libpcre3-dev | ||
sudo apt install swig3.0 | ||
fi |
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,37 @@ | ||
# -------------------------------------------------------------------------- | ||
# OgmaNeo | ||
# Copyright(c) 2016 Ogma Intelligent Systems Corp. All rights reserved. | ||
# | ||
# This copy of OgmaNeo is licensed to you under the terms described | ||
# in the OGMANEO_LICENSE.md file included in this distribution. | ||
# -------------------------------------------------------------------------- | ||
|
||
# Locate OgmaNeo library | ||
# | ||
# This module defines | ||
# OGMANEO_LIBRARY, the name of the library to link against | ||
# OGMANEO_FOUND, if false, do not try to link to OgmaNeo | ||
# OGMANEO_INCLUDE_DIR, where to find OgmaNeo headers | ||
# | ||
IF(OGMANEO_INCLUDE_DIR) | ||
# Already in cache, be silent | ||
SET(OGMANEO_FIND_QUIETLY TRUE) | ||
ENDIF(OGMANEO_INCLUDE_DIR) | ||
|
||
FIND_PATH(OGMANEO_INCLUDE_DIR ogmaneo/neo/Architect.h) | ||
if (NOT "${OGMANEO_INCLUDE_DIR}" STREQUAL "OGMANEO_INCLUDE_DIR-NOTFOUND") | ||
SET(OGMANEO_INCLUDE_DIR "${OGMANEO_INCLUDE_DIR}/ogmaneo") | ||
ENDIF() | ||
|
||
SET(OGMANEO_NAMES ogmaneo OgmaNeo OGMANEO) | ||
FIND_LIBRARY(OGMANEO_LIBRARY NAMES ${OGMANEO_NAMES}) | ||
|
||
# Per-recommendation | ||
SET(OGMANEO_INCLUDE_DIRS "${OGMANEO_INCLUDE_DIR}") | ||
SET(OGMANEO_LIBRARIES "${OGMANEO_LIBRARY}") | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set OGMANEO_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(OgmaNeo DEFAULT_MSG OGMANEO_LIBRARY OGMANEO_INCLUDE_DIR) |
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
Oops, something went wrong.