MayaFlux 0.4.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 228 of file HostEnvironment.cpp.

229{
230#ifdef MAYAFLUX_PLATFORM_WINDOWS
231 const char* cmd = "echo. | clang -v -E -x c++ - 2>&1";
232#else
233 const char* cmd = "clang -v -E -x c++ - 2>&1 < /dev/null";
234#endif
235
236 auto clang_output = exec_command(cmd);
237 return parse_clang_search_paths(clang_output);
238}
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: