Advertisement
Guest User

Untitled

a guest
Dec 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.68 KB | None | 0 0
  1. cmake_minimum_required (VERSION 2.8)
  2. project(OgreTutorialsSample)
  3.  
  4. ## [discover_ogre]
  5. # specify which version and components you need
  6. find_package(OGRE 1.11 REQUIRED COMPONENTS Bites RTShaderSystem)
  7.  
  8. # copy resource.cfg next to our binaries where OGRE looks for it
  9. file(COPY ${OGRE_CONFIG_DIR}/resources.cfg DESTINATION ${CMAKE_BINARY_DIR})
  10. ## [discover_ogre]
  11.  
  12. #add_executable(0_Bootstrap Bootstrap.cpp)
  13. #target_link_libraries(0_Bootstrap ${OGRE_LIBRARIES})
  14.  
  15. add_executable(1_FirstScene BasicTutorial1.cpp)
  16. target_link_libraries(1_FirstScene ${OGRE_LIBRARIES})
  17.  
  18. #add_executable(2_CamerasAndShadows BasicTutorial2.cpp)
  19. #target_link_libraries(2_CamerasAndShadows ${OGRE_LIBRARIES})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement