未验证 提交 505cc3aa 编写于 作者: K Kevin Heifner 提交者: GitHub

Merge pull request #4420 from EOSIO/boost-wasm

Add boost to wasm include_directories for code insight to work
......@@ -75,10 +75,6 @@ macro(compile_wast)
list(APPEND WASM_COMMAND -isystem ${folder})
endforeach()
foreach(folder ${ARG_SYSTEM_INCLUDE_FOLDERS})
list(APPEND WASM_COMMAND -isystem ${folder})
endforeach()
add_custom_command(OUTPUT ${outfile}.bc
DEPENDS ${infile}
COMMAND ${WASM_COMMAND}
......@@ -201,7 +197,11 @@ macro(add_wast_executable)
set(extra_target_dependency)
# For CLion code insight
include_directories(..)
foreach(folder ${ARG_INCLUDE_FOLDERS})
include_directories(${folder})
endforeach()
include_directories(${Boost_INCLUDE_DIR})
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${target}.hpp)
set(HEADER_FILE ${CMAKE_CURRENT_SOURCE_DIR}/${target}.hpp)
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册