CMakeLists.txt 972 B

12345678910111213141516171819202122232425262728293031323334
  1. # Source files and their filters
  2. include(CMakeSources.cmake)
  3. source_group("Header Files\\Generated" FILES ${BS_GENERATED_EDITOR_H_FILES})
  4. source_group("Source Files\\Generated" FILES ${BS_GENERATED_EDITOR_CPP_FILES})
  5. # Includes
  6. set(SBansheeEditor_INC
  7. "Include"
  8. "../BansheeUtility/Include"
  9. "../BansheeCore/Include"
  10. "../BansheeEngine/Include"
  11. "../BansheeEditor/Include"
  12. "../BansheeMono/Include"
  13. "../SBansheeEngine/Include"
  14. "${PROJECT_BINARY_DIR}/Generated/Editor/Include")
  15. include_directories(${SBansheeEditor_INC})
  16. # Target
  17. add_library(SBansheeEditor SHARED
  18. ${BS_SBANSHEEEDITOR_SRC}
  19. ${BS_GENERATED_EDITOR_H_FILES}
  20. ${BS_GENERATED_EDITOR_CPP_FILES})
  21. # Defines
  22. target_compile_definitions(SBansheeEditor PRIVATE -DBS_SCR_BED_EXPORTS)
  23. # Libraries
  24. ## Local libs
  25. target_link_libraries(SBansheeEditor SBansheeEngine BansheeMono BansheeEditor BansheeEngine BansheeUtility BansheeCore)
  26. # IDE specific
  27. set_property(TARGET SBansheeEditor PROPERTY FOLDER Script)