Displaying 1 result from an estimated 1 matches for "configvalues".
2004 Aug 20
2
[LLVMdev] Configuration Values
...#39;re likely to eventually run into this again I'm trying to figure out
what's best for LLVM:
0. Pass -DCONFIG_SYSCONFDIR=$(sysconfdir) on the command line.
1. Create include/Config/Values.h.in with something like:
#define CONFIG_SYSCONFDIR "@sysconfdir@"
2. Create lib/Support/ConfigValues.cpp.in with something like:
namespace llvm {
const char Config_SysConfDir[] = "@sysconfdir@";
}
3 Create lib/Config/Values.cpp with same content as 2 (this done
so that libConfig is separate and only linked when needed.
4. Do 3 but put the Values.cpp file in tools/llvmc so it is pe...