summaryrefslogtreecommitdiffstats
path: root/Example/Demo
diff options
context:
space:
mode:
Diffstat (limited to 'Example/Demo')
-rw-r--r--Example/Demo/CMakeLists.txt12
-rw-r--r--Example/Demo/demo.cxx10
-rw-r--r--Example/Demo/demo_b.cxx3
3 files changed, 0 insertions, 25 deletions
diff --git a/Example/Demo/CMakeLists.txt b/Example/Demo/CMakeLists.txt
deleted file mode 100644
index 477700f..0000000
--- a/Example/Demo/CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-# Make sure the compiler can find include files from our Hello library.
-include_directories (${HELLO_SOURCE_DIR}/Hello)
-
-# Make sure the linker can find the Hello library once it is built.
-link_directories (${HELLO_BINARY_DIR}/Hello)
-
-# Add executable called "helloDemo" that is built from the source files
-# "demo.cxx" and "demo_b.cxx". The extensions are automatically found.
-add_executable (helloDemo demo.cxx demo_b.cxx)
-
-# Link the executable to the Hello library.
-target_link_libraries (helloDemo Hello)
diff --git a/Example/Demo/demo.cxx b/Example/Demo/demo.cxx
deleted file mode 100644
index 815c814..0000000
--- a/Example/Demo/demo.cxx
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "hello.h"
-
-extern Hello hello;
-
-int main()
-{
- hello.Print();
-
- return 0;
-}
diff --git a/Example/Demo/demo_b.cxx b/Example/Demo/demo_b.cxx
deleted file mode 100644
index 08a2329..0000000
--- a/Example/Demo/demo_b.cxx
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "hello.h"
-
-Hello hello;