Skip to content

Commit

Permalink
Create some sandbox for automatically built examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn authored and vigsterkr committed Mar 10, 2016
1 parent 64fed8b commit 8ad61e9
Show file tree
Hide file tree
Showing 29 changed files with 83 additions and 946 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Expand Up @@ -304,7 +304,6 @@ STRING(REGEX REPLACE "[0-9]*.[0-9]*.([0-9]*)" "\\1" SHOGUN_VERSION_PATCH "${VERS
SET(BUILD_STATIC "Build a statically linked binary" OFF)
################# EXAMPLES ##################
OPTION(BUILD_EXAMPLES "Build Examples" ON)
OPTION(GENERATE_EXAMPLES "Generate Meta-Language Examples" OFF)

################# DATATYPES #################
IF(COMPILE_MODULAR_INTERFACE)
Expand Down Expand Up @@ -1087,12 +1086,6 @@ IF(EXISTS ${CMAKE_SOURCE_DIR}/examples)
IF(BUILD_EXAMPLES OR ENABLE_TESTING)
add_subdirectory(${CMAKE_SOURCE_DIR}/examples)
ENDIF()

IF(EXISTS ${CMAKE_SOURCE_DIR}/examples/example-generation)
IF(GENERATE_EXAMPLES)
add_subdirectory(${CMAKE_SOURCE_DIR}/examples/example-generation)
ENDIF()
ENDIF()
ENDIF()

IF(DOXYGEN_FOUND)
Expand Down
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Expand Up @@ -49,3 +49,4 @@ IF (CmdLineStatic AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/undocumented/cmdline_st
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/undocumented/cmdline_static)
ENDIF()

add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/examples_v2)
7 changes: 0 additions & 7 deletions examples/example-generation/.gitignore

This file was deleted.

39 changes: 0 additions & 39 deletions examples/example-generation/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion examples/example-generation/README.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/example-generation/generated-examples/data

This file was deleted.

0 comments on commit 8ad61e9

Please sign in to comment.