Add iree_cc_embed_data and iree_bytecode_module CMake functions.
Tested on Linux and Windows. Both are able to build the relevant targets, though Windows with MSVC isn't able to build `iree/vm/sequencer_dispatch.cc` on my machine so I can't yet run the samples with CMake there.
Fixes #211
Fixes #212
Closes #215
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/iree/pull/215 from ScottTodd:cmake-functions 8dd2beb4ba64c7f6b0f177fa9b158afc95399fb8
PiperOrigin-RevId: 286262579
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6981b51..798890c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,6 +53,8 @@
include(iree_cc_library)
include(iree_cc_test)
include(iree_tablegen_library)
+include(iree_cc_embed_data)
+include(iree_bytecode_module)
string(JOIN " " CMAKE_CXX_FLAGS ${IREE_DEFAULT_COPTS})