浏览代码

build: prepare for tools

Michele Caini 2 年之前
父节点
当前提交
c3e36e7148
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      CMakeLists.txt
  2. 0 0
      tools/CMakeLists.txt

+ 8 - 0
CMakeLists.txt

@@ -292,6 +292,14 @@ if(ENTT_BUILD_TESTING)
     add_subdirectory(test)
 endif()
 
+# Tools
+
+option(ENTT_BUILD_TOOLS "Enable building tools." OFF)
+
+if(ENTT_BUILD_TOOLS)
+    add_subdirectory(tools)
+endif()
+
 # Documentation
 
 option(ENTT_BUILD_DOCS "Enable building with documentation." OFF)

+ 0 - 0
tools/CMakeLists.txt