aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/CMakeLists.txt')
-rw-r--r--tools/llvmc/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/llvmc/CMakeLists.txt b/tools/llvmc/CMakeLists.txt
index 10ad5d8..ff7cbae 100644
--- a/tools/llvmc/CMakeLists.txt
+++ b/tools/llvmc/CMakeLists.txt
@@ -1,4 +1,8 @@
-# add_subdirectory(src)
+add_subdirectory(src)
# TODO: support plugins and user-configured builds.
# See ./doc/LLVMC-Reference.rst "Customizing LLVMC: the compilation graph"
+
+if( LLVM_INCLUDE_EXAMPLES )
+ add_subdirectory(examples)
+endif()