Skip to content

Instantly share code, notes, and snippets.

View ahundt's full-sized avatar

Andrew Hundt ahundt

View GitHub Profile
@ahundt
ahundt / demoBASIS.sh
Last active August 29, 2015 13:57
script that executes the basis quick start steps automatically
set -e
# Demo script:
#clone BASIS (or basis template?)
export START=`pwd`
# build basis
echo "
############################################
diff --git a/src/cmake/ProjectTools.cmake b/src/cmake/ProjectTools.cmake
index 718174a..cc93775 100644
--- a/src/cmake/ProjectTools.cmake
+++ b/src/cmake/ProjectTools.cmake
@@ -803,7 +803,15 @@ function (basis_configure_public_headers)
# considered include directories
basis_get_relative_path (INCLUDE_DIR "${PROJECT_SOURCE_DIR}" "${PROJECT_INCLUDE_DIR}")
set (INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/${INCLUDE_DIR}")
-
+
@ahundt
ahundt / FindExampleModule.cmake
Created January 23, 2014 18:37
CMake script to implement find scripts more easily and an example of usage
#####################################################################
#
# Find ExampleModule Library
#
## 1: Output Variables
# The following are set after configuration is done:
#
# ExampleModule_FOUND
#
# ExampleModule_LIBRARIES