2
0

CMakeLists.txt 717 B

123456789101112131415161718192021222324252627
  1. # Source files and their filters
  2. include(CMakeSources.cmake)
  3. # Includes
  4. set(BansheeOISInput_INC
  5. "Include"
  6. "../BansheeUtility/Include"
  7. "../BansheeCore/Include"
  8. "../../Dependencies/OIS/include")
  9. include_directories(${BansheeOISInput_INC})
  10. # Target
  11. add_library(BansheeOISInput SHARED ${BS_BANSHEEOISINPUT_SRC})
  12. # Defines
  13. target_compile_definitions(BansheeOISInput PRIVATE -DBS_OIS_EXPORTS -DOIS_DYNAMIC_LIB -DOIS_NONCLIENT_BUILD)
  14. # Libraries
  15. ## External lib: OIS
  16. add_library_per_config(BansheeOISInput OIS Release/BansheeOIS Debug/BansheeOIS)
  17. ## Local libs
  18. target_link_libraries(BansheeOISInput PUBLIC BansheeUtility BansheeCore)
  19. # IDE specific
  20. set_property(TARGET BansheeOISInput PROPERTY FOLDER Plugins)