File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
runtime/workspace/executorchcoreml.xcodeproj Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ target_include_directories(
134134 coremldelegate PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} /runtime/util
135135)
136136target_include_directories (coremldelegate PRIVATE ${EXECUTORCH_ROOT} /..)
137+ target_include_directories (coremldelegate PRIVATE ${EXECUTORCH_ROOT} /runtime/core/portable_type)
138+ target_compile_definitions (coremldelegate C10_USING_CUSTOM_GENERATED_MACROS)
137139target_link_libraries (coremldelegate PRIVATE executorch_core)
138140
139141if (EXECUTORCH_BUILD_DEVTOOLS)
Original file line number Diff line number Diff line change 830830 GCC_OPTIMIZATION_LEVEL = 0;
831831 GCC_PREPROCESSOR_DEFINITIONS = (
832832 "DEBUG=1",
833+ "C10_USING_CUSTOM_GENERATED_MACROS",
833834 "$(inherited)",
834835 );
835836 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
911912 DEVELOPMENT_TEAM = "";
912913 GCC_PREPROCESSOR_DEFINITIONS = (
913914 "DEBUG=1",
915+ "C10_USING_CUSTOM_GENERATED_MACROS",
914916 "ET_EVENT_TRACER_ENABLED=1",
915917 "$(inherited)",
916918 );
920922 "$(SRCROOT)/../kvstore",
921923 "$(SRCROOT)/../inmemoryfs",
922924 "$(SRCROOT)/../include",
925+ "$(SRCROOT)/../include/executorch/runtime/core/portable_type",
923926 "$(SRCROOT)/../sdk",
924927 "$(SRCROOT)/../util",
925928 "$(SRCROOT)/../../third-party/nlohmann_json/single_include",
951954 "$(SRCROOT)/../kvstore",
952955 "$(SRCROOT)/../inmemoryfs",
953956 "$(SRCROOT)/../include",
957+ "$(SRCROOT)/../include/executorch/runtime/core/portable_type",
954958 "$(SRCROOT)/../sdk",
955959 "$(SRCROOT)/../util",
956960 "$(SRCROOT)/../../third-party/nlohmann_json/single_include",
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ endif()
1414
1515include (${EXECUTORCH_ROOT} /build /Utils.cmake)
1616
17- set (_common_include_directories ${EXECUTORCH_ROOT} /..)
17+ set (_common_include_directories ${EXECUTORCH_ROOT} /.. ${EXECUTORCH_ROOT} /runtime/core/portable_type)
18+ add_compile_definitions (C10_USING_CUSTOM_GENERATED_MACROS)
1819
1920# Third-party folder and Ethos-U driver inclued
2021set (THIRD_PARTY_ROOT "${CMAKE_CURRENT_SOURCE_DIR} /third-party" )
You can’t perform that action at this time.
0 commit comments