Files
ECAP_Server/module/Local_Server/server/Config_Default/Target_Defaults.h
T
2026-08-24 09:20:04 +08:00

19 lines
899 B
C++

#pragma once
#include <string_view>
namespace config_default {
#if defined(ECAP_TARGET_WINDOWS)
inline constexpr std::string_view dsp_library_path = "@/dll_source.dll";
inline constexpr std::string_view webapp_path = "@/../third_party/eacp_webapp/wwwroot";
inline constexpr std::string_view tile_directory = "C:/tiles";
inline constexpr std::string_view file_source_path = "D:/ae/proj/projects/ECAP_Server/data/BIN_Blank_Text/ADS-B_195_0205.txt";
inline constexpr std::string_view sqlite_path = "@/../data/sqlite/ecap.sqlite";
#elif defined(ECAP_TARGET_LINUX)
inline constexpr std::string_view dsp_library_path = "@/lib9002/lib9002.so";
inline constexpr std::string_view webapp_path = "@/wwwroot";
inline constexpr std::string_view tile_directory = "/home/heco/tiles";
inline constexpr std::string_view sqlite_path = "@/../ecap.sqlite";
#else
#error Unsupported ecap_server target platform
#endif
}