diff --git a/CMakeLists.txt b/CMakeLists.txt index 432a809d357..e0bf6e5e481 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,16 @@ # cloning or pulling the upstream repo. Once this is done, you don't need to do # it again until you pull from the upstream repo again. # +# NOTE: Build options can be configured by passing arguments to cmake. For +# example, to enable the EXECUTORCH_BUILD_XNNPACK option, change the cmake +# command to 'cmake -DEXECUTORCH_BUILD_XNNPACK=ON ..'. +#[[ + (rm -rf cmake-out \ + && mkdir cmake-out \ + && cd cmake-out \ + && cmake ..) +]] +# # ### Build ### # # NOTE: The `-j` argument specifies how many jobs/processes to use when