CMakeLists.txt 535 B

1234567891011121314151617181920212223
  1. # Target
  2. if(WIN32)
  3. add_executable(Audio WIN32 "Main.cpp")
  4. else()
  5. add_executable(Audio "Main.cpp")
  6. endif()
  7. # Working directory
  8. set_target_properties(Audio PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$(OutDir)")
  9. # Libraries
  10. ## Local libs
  11. target_link_libraries(Audio Common)
  12. # Plugin dependencies
  13. add_engine_dependencies(Audio)
  14. add_dependencies(Audio bsfFBXImporter bsfFontImporter bsfFreeImgImporter)
  15. # IDE specific
  16. set_property(TARGET Audio PROPERTY FOLDER Examples)
  17. # Precompiled header & Unity build
  18. conditional_cotire(Audio)