1. added double dash option to test to avoid warning message about compilation database

2. fixed cmake resource folder discovery for standalone build case
This commit is contained in:
dfukalov
2016-03-05 13:59:38 +03:00
parent 8b1643ffb5
commit 41267688d0
3 ha cambiato i file con 14 aggiunte e 13 eliminazioni
+3
Vedi File
@@ -685,6 +685,9 @@ int main(int argc, const char **argv) {
{
Tool.appendArgumentsAdjuster(getInsertArgumentAdjuster(Stage, ArgumentInsertPosition::BEGIN));
Tool.appendArgumentsAdjuster(getInsertArgumentAdjuster("-std=c++11"));
#if defined(HIPIFY_CLANG_RES)
Tool.appendArgumentsAdjuster(getInsertArgumentAdjuster("-resource-dir=" HIPIFY_CLANG_RES));
#endif // defined(HIPIFY_CLANG_HEADERS)
Tool.appendArgumentsAdjuster(getClangSyntaxOnlyAdjuster());
Result = Tool.run(action.get());