Skip to content

Commit

Permalink
Merge pull request #1 from rcrowder/release-1_0
Browse files Browse the repository at this point in the history
Release v1.0
  • Loading branch information
rcrowder authored Jul 7, 2017
2 parents 48f40d4 + ffcd1f2 commit b800fe2
Show file tree
Hide file tree
Showing 32 changed files with 25,879 additions and 1 deletion.
54 changes: 54 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Contributing to NeoVis

Thank you for your interest in contributing to NeoVis!

## How to Contribute

Follow these steps to contribute code or documentation to this project:

1. Download and review carefully our [Contributor Agreement](https://ogma.ai/wp-content/uploads/2016/09/OgmaContributorAgreement.pdf), and send us a completed and signed copy.

Please sign this agreement with a pen, as we do not accept electronic signatures.<br/>
Then email a scanned copy of this agreement to contributing@ogmacorp.com, or send us an original paper copy by [snail mail](https://ogma.ai/contact-ogma-ai/).

You need to do this only once, before your first contribution.

2. For large contributions (see below), make sure to first discuss your ideas with us via a GitHub issue or by sending us an email at contributing@ogmacorp.com

3. Fork this repository.

4. Follow this project's naming and coding conventions when implementing your contribution - we want to keep all our source code consistent.

5. Submit a pull request.

We review carefully any contribution that we accept, and these reviews may take some time. Please keep in mind there is no guarantee your contribution will be accepted: we may reject a pull request for any reason, or no reason.

## Our Favorite Contributions

We prefer small contributions as they are easier to review and integrate. If you want to contribute but don't know where to start, consider one of these areas:

* New sample programs

* Small bug fixes that affect only one or a few source files

* Fixes for the documentation

## Large Contributions

Please don't spend weeks or months on a new feature without checking with us first!

Some contributions are troublesome and therefore difficult to accept:

* New features that require a new version of the OgmaNeo and/or EOgmaNeo library, and Flatbuffers schemas<br/>

* New features that may be useful for your project but are not obviously useful to other projects<br/>
We want to keep our software lean and focused!

* Any update that breaks source compatibility with the most recent release

## Contact

* Website: https://ogma.ai/contact-ogma-ai/
* Twitter: https://twitter.com/ogmacorp
* Gitter: https://gitter.im/ogmaneo
* Email: contributing@ogmacorp.com
437 changes: 437 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions NEOVIS_LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NeoVis - Copyright (c) 2017 Ogma Intelligent Systems Corp. https://ogma.ai

This program is published under the Attribution-NonCommercial-ShareAlike 4.0
International (CC BY-NC-SA 4.0) License, in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

You should have received a copy of the CC BY-NC-SA 4.0 along with this
program. If not, see https://creativecommons.org/licenses/by-nc-sa/4.0/

Please contact licenses@ogmacorp.com regarding uses not covered by this license.
365 changes: 365 additions & 0 deletions NeoVis/CMake/FindSFML.cmake

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions NeoVis/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# ----------------------------------------------------------------------------
# NeoVis
# Copyright(c) 2017 Ogma Intelligent Systems Corp. All rights reserved.
#
# This copy of NeoVis is licensed to you under the terms described
# in the NEOVIS_LICENSE.md file included in this distribution.
# ----------------------------------------------------------------------------

# CMake version 3.1+ is required to enable C++14 features cleanly
cmake_minimum_required(VERSION 3.1)

project(NeoVis)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")

if(NOT CMAKE_BUILD_TYPE)
message("CMAKE_BUILD_TYPE not set, setting it to Release")
set(CMAKE_BUILD_TYPE Release)
endif()
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")

if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(BITNESS 64)
else()
set(BITNESS 32)
endif()
message(STATUS "Bitness: ${BITNESS}")


############################################################################
# Add OpenGL

find_package(OpenGL REQUIRED)


############################################################################
# Add SFML

find_package(SFML 2 COMPONENTS system window graphics network)

message(STATUS "SFML incs: " ${SFML_INCLUDE_DIR})
message(STATUS "SFML libs: " ${SFML_LIBRARIES})


############################################################################
#

file(GLOB_RECURSE NEOVIS_SRC
"source/*.cpp"
)

add_executable(NeoVis ${NEOVIS_SRC})

set_property(TARGET NeoVis PROPERTY CXX_STANDARD 14)
set_property(TARGET NeoVis PROPERTY CXX_STANDARD_REQUIRED ON)

if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
if(BITNESS EQUAL 64)
set_target_properties(NeoVis PROPERTIES COMPILE_FLAGS "-m64" LINK_FLAGS "-m64")
endif()
endif()

target_include_directories(NeoVis PUBLIC ${SFML_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR})

if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
target_link_libraries(NeoVis ${SFML_LIBRARIES} ${OPENGL_LIBRARIES} ${SFML_DEPENDENCIES} -lpthread)
else()
target_link_libraries(NeoVis ${SFML_LIBRARIES} ${OPENGL_LIBRARIES} ${SFML_DEPENDENCIES})
endif()
Binary file added NeoVis/config.txt
Binary file not shown.
Loading

0 comments on commit b800fe2

Please sign in to comment.