Skip to content

Commit

Permalink
remvoe gltf viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
hotstreams committed Dec 4, 2023
1 parent 8c0c1c8 commit 5c15fc1
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -398,31 +398,31 @@ target_link_libraries(limitless_demo glew ${GLEW_LIBRARIES})
#target_link_libraries(limitless_test glew ${GLEW_LIBRARIES})

##############################################

add_executable(demo_gltf_viewer
$<TARGET_OBJECTS:limitless_engine_static>
demo/gltf_viewer/gltf_viewer.cpp
)

target_compile_options(demo_gltf_viewer PUBLIC "${LIMITLESS_COMPILE_OPTIONS}")

target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glfw/include")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/assimp/include" "${CMAKE_CURRENT_BINARY_DIR}/thirdparty/assimp/include")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/stbimage")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glm")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/freetype/include")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glew/include")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glew/include")
target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/plog/include")

target_link_libraries(demo_gltf_viewer glfw ${GLFW_LIBRARIES})
target_link_libraries(demo_gltf_viewer assimp ${ASSIMP_LIBRARIES})
target_link_libraries(demo_gltf_viewer freetype)
target_link_libraries(demo_gltf_viewer glew ${GLEW_LIBRARIES})

target_link_options(demo_gltf_viewer PUBLIC)

if (UNIX)
# Required for OpenGL on X11.
target_link_libraries(demo_gltf_viewer GL)
endif()
#
#add_executable(demo_gltf_viewer
# $<TARGET_OBJECTS:limitless_engine_static>
# demo/gltf_viewer/gltf_viewer.cpp
#)
#
#target_compile_options(demo_gltf_viewer PUBLIC "${LIMITLESS_COMPILE_OPTIONS}")
#
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glfw/include")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/assimp/include" "${CMAKE_CURRENT_BINARY_DIR}/thirdparty/assimp/include")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/stbimage")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glm")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/freetype/include")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glew/include")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/glew/include")
#target_include_directories(demo_gltf_viewer PUBLIC "${CMAKE_CURRENT_LIST_DIR}/thirdparty/plog/include")
#
#target_link_libraries(demo_gltf_viewer glfw ${GLFW_LIBRARIES})
#target_link_libraries(demo_gltf_viewer assimp ${ASSIMP_LIBRARIES})
#target_link_libraries(demo_gltf_viewer freetype)
#target_link_libraries(demo_gltf_viewer glew ${GLEW_LIBRARIES})
#
#target_link_options(demo_gltf_viewer PUBLIC)
#
#if (UNIX)
# # Required for OpenGL on X11.
# target_link_libraries(demo_gltf_viewer GL)
#endif()

0 comments on commit 5c15fc1

Please sign in to comment.