Explorar o código

build: prepare for tools

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
c3e36e7148
Modificáronse 2 ficheiros con 8 adicións e 0 borrados
  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)
     add_subdirectory(test)
 endif()
 endif()
 
 
+# Tools
+
+option(ENTT_BUILD_TOOLS "Enable building tools." OFF)
+
+if(ENTT_BUILD_TOOLS)
+    add_subdirectory(tools)
+endif()
+
 # Documentation
 # Documentation
 
 
 option(ENTT_BUILD_DOCS "Enable building with documentation." OFF)
 option(ENTT_BUILD_DOCS "Enable building with documentation." OFF)

+ 0 - 0
tools/CMakeLists.txt