Add appveyor.yml
This commit is contained in:
parent
1420abc81b
commit
d1fafdaa92
10 changed files with 40 additions and 24 deletions
|
|
@ -101,9 +101,6 @@ add_library(cppast ${detail_header} ${header} ${source} ${libclang_source})
|
|||
target_include_directories(cppast PUBLIC ../include)
|
||||
target_link_libraries(cppast PUBLIC type_safe _cppast_tiny_process _cppast_libclang)
|
||||
target_compile_definitions(cppast PUBLIC
|
||||
CPPAST_LIBCLANG_SYSTEM_INCLUDE_DIR="${LIBCLANG_SYSTEM_INCLUDE_DIR}"
|
||||
CPPAST_CLANG_BINARY="${CLANG_BINARY}"
|
||||
CPPAST_CLANG_VERSION_STRING="${LLVM_VERSION}"
|
||||
CPPAST_VERSION_STRING="${cppast_VERSION}")
|
||||
if(CPPAST_ENABLE_ASSERTIONS)
|
||||
target_compile_definitions(cppast PUBLIC CPPAST_ENABLE_ASSERTIONS)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,10 @@ namespace cppast
|
|||
return CXChildVisit_Recurse;
|
||||
};
|
||||
|
||||
clang_visitChildren(parent, recurse ? recurse_lambda : continue_lambda, &f);
|
||||
if (recurse)
|
||||
clang_visitChildren(parent, recurse_lambda, &f);
|
||||
else
|
||||
clang_visitChildren(parent, continue_lambda, &f);
|
||||
}
|
||||
|
||||
// visits a translation unit
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <cctype>
|
||||
|
||||
#include <process.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include "tokenizer.hpp"
|
||||
|
||||
#include <cctype>
|
||||
|
||||
#include "libclang_visitor.hpp"
|
||||
#include "parse_error.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include "parse_functions.hpp"
|
||||
|
||||
#include <cctype>
|
||||
|
||||
#include <cppast/cpp_array_type.hpp>
|
||||
#include <cppast/cpp_decltype_type.hpp>
|
||||
#include <cppast/cpp_expression.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue