MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_clang_includes()

std::vector< std::string > MayaFlux::Platform::SystemConfig::get_clang_includes ( )
staticprivate

Definition at line 246 of file HostEnvironment.cpp.

247{
248#ifdef MAYAFLUX_PLATFORM_WINDOWS
249 const char* cmd = "echo. | clang -v -E -x c++ - 2>&1";
250#else
251 const char* cmd = "clang -v -E -x c++ - 2>&1 < /dev/null";
252#endif
253
254 auto clang_output = exec_command(cmd);
255 return parse_clang_search_paths(clang_output);
256}
vk::CommandBuffer cmd
static std::vector< std::string > parse_clang_search_paths(const std::string &output)
static std::string exec_command(const char *cmd)

References cmd, exec_command(), and parse_clang_search_paths().

Referenced by get_system_includes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: