Sfoglia il codice sorgente

build: prepare for tools

Michele Caini 2 anni fa
parent
commit
c3e36e7148
2 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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