划定 CMake 模块目录并补充各层 README。

固定 isa/compiler/vm/host 的职责边界,样例与测试单独成目录。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 16:32:07 +08:00
co-authored by Cursor
parent 368877ae34
commit 2eb2468119
11 changed files with 217 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# cmake
顶层 CMake 的辅助脚本,**不是**业务模块。
放警告选项、C++ 标准、输出目录等共用片段,由根目录 `CMakeLists.txt` `include()`。不要按词法、VM、host 再拆成业务 CMake module。
第一版尽量少文件;没有共用逻辑时本目录可以为空。