CMakeLists.txt 969 B

1234567891011121314151617181920212223242526272829303132333435
  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. "./"
  8. "../BansheeUtility"
  9. "../BansheeCore"
  10. "../BansheeEngine"
  11. "../BansheeEditor"
  12. "../BansheeMono"
  13. "../SBansheeEngine"
  14. "${PROJECT_BINARY_DIR}/Generated/Engine/Include"
  15. "${PROJECT_BINARY_DIR}/Generated/Editor/Include")
  16. include_directories(${SBansheeEditor_INC})
  17. # Target
  18. add_library(SBansheeEditor SHARED
  19. ${BS_SBANSHEEEDITOR_SRC}
  20. ${BS_GENERATED_EDITOR_H_FILES}
  21. ${BS_GENERATED_EDITOR_CPP_FILES})
  22. # Defines
  23. target_compile_definitions(SBansheeEditor PRIVATE -DBS_SCR_BED_EXPORTS)
  24. # Libraries
  25. ## Local libs
  26. target_link_libraries(SBansheeEditor SBansheeEngine BansheeMono BansheeEditor BansheeEngine BansheeUtility BansheeCore)
  27. # IDE specific
  28. set_property(TARGET SBansheeEditor PROPERTY FOLDER Script)