summaryrefslogtreecommitdiffstats
path: root/Samples/SensorBox/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/SensorBox/CMakeLists.txt')
-rw-r--r--Samples/SensorBox/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Samples/SensorBox/CMakeLists.txt b/Samples/SensorBox/CMakeLists.txt
new file mode 100644
index 0000000..be2d98f
--- /dev/null
+++ b/Samples/SensorBox/CMakeLists.txt
@@ -0,0 +1,26 @@
+project(SensorBoxTest)
+
+set(EXTRA_LIBS
+ OculusVR
+ CommonSrc
+)
+
+set(SOURCE_FILES
+ SensorBoxTest.cpp
+)
+
+if (WIN32)
+
+ add_executable(SensorBoxTest WIN32 ${SOURCE_FILES})
+
+elseif (APPLE)
+
+ add_executable(SensorBoxTest MACOSX_BUNDLE ${SOURCE_FILES})
+
+else()
+
+ add_executable(SensorBoxTest ${SOURCE_FILES})
+
+endif()
+
+target_link_libraries(SensorBoxTest ${EXTRA_LIBS})