BsEngineConfig.h.in 866 B

12345678910111213141516
  1. #define BS_RENDERER_MODULE "@RENDERER_MODULE_LIB@"
  2. #define BS_RENDER_API_MODULE "@RENDER_API_MODULE_LIB@"
  3. #define BS_AUDIO_MODULE "@AUDIO_MODULE_LIB@"
  4. #define BS_PHYSICS_MODULE "@PHYSICS_MODULE_LIB@"
  5. /** Path to the application root when files haven't been packaged yet (e.g. running from debugger). */
  6. static constexpr const char* RAW_APP_ROOT = "@PROJECT_SOURCE_DIR@/../";
  7. /** Path to the binaries when files haven't been packaged yet (e.g. running from debugger). */
  8. #if BS_CONFIG == BS_CONFIG_DEBUG
  9. static constexpr const char* BINARIES_PATH = "@CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG@";
  10. #elif BS_CONFIG == BS_CONFIG_OPTIMIZEDDEBUG
  11. static constexpr const char* BINARIES_PATH = "@CMAKE_RUNTIME_OUTPUT_DIRECTORY_OPTIMIZEDDEBUG@";
  12. #elif BS_CONFIG == BS_CONFIG_RELEASE
  13. static constexpr const char* BINARIES_PATH = "@CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE@";
  14. #endif