CMakeLists.txt 773 B

123456789101112131415161718192021222324252627282930
  1. # Source files and their filters
  2. include(CMakeSources.cmake)
  3. # Includes
  4. set(SBansheeEngine_INC
  5. "Include"
  6. "../BansheeUtility/Include"
  7. "../BansheeCore/Include"
  8. "../BansheeEngine/Include"
  9. "../BansheeEditor/Include"
  10. "../BansheeMono/Include"
  11. "${PROJECT_BINARY_DIR}/Generated/Cpp/Engine/Include")
  12. include_directories(${SBansheeEngine_INC})
  13. # Target
  14. add_library(SBansheeEngine SHARED
  15. ${BS_SBANSHEEENGINE_SRC}
  16. ${BS_GENERATED_ENGINE_H_FILES}
  17. ${BS_GENERATED_ENGINE_CPP_FILES})
  18. # Defines
  19. target_compile_definitions(SBansheeEngine PRIVATE -DBS_SCR_BE_EXPORTS)
  20. # Libraries
  21. ## Local libs
  22. target_link_libraries(SBansheeEngine BansheeMono BansheeEditor BansheeEngine BansheeUtility BansheeCore)
  23. # IDE specific
  24. set_property(TARGET SBansheeEngine PROPERTY FOLDER Script)