blob: 6db3e6eeeeeccd582e0bdc748e0765201bbf509b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
project(OculusRoomTiny)
set(SOURCE_FILES
MessageBox.cpp
MessageBox.h
OculusRoomTiny.cpp
OculusRoomTiny.h
OculusRoomModel.cpp
RenderTiny_Device.cpp
RenderTiny_Device.h
RenderTiny_GL_Device.cpp
RenderTiny_GL_Device.h
)
set(EXTRA_LIBS
OculusVR
glew
glfw
${GLFW_LIBRARIES}
)
if(WIN32)
add_executable(${PROJECT_NAME} WIN32 ${SOURCE_FILES} )
elseif(APPLE)
add_executable(${PROJECT_NAME} MACOSX_BUNDLE ${SOURCE_FILES} )
else()
add_executable(${PROJECT_NAME} ${SOURCE_FILES} )
endif()
target_link_libraries(${PROJECT_NAME} ${EXTRA_LIBS})
|