tools: davey trauma :)
This commit is contained in:
@@ -90,6 +90,7 @@ target_include_directories(
|
||||
EnTT
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${EnTT_SOURCE_DIR}/src>
|
||||
$<BUILD_INTERFACE:${EnTT_SOURCE_DIR}/tools>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
)
|
||||
|
||||
@@ -111,8 +112,8 @@ endif()
|
||||
# Add EnTT goodies
|
||||
|
||||
option(ENTT_INCLUDE_HEADERS "Add all EnTT headers to the EnTT target." OFF)
|
||||
option(ENTT_INCLUDE_NATVIS "Add EnTT natvis files to the EnTT target." OFF)
|
||||
option(ENTT_INCLUDE_TOOLS "Add EnTT tools files to the EnTT target." OFF)
|
||||
option(ENTT_INCLUDE_NATVIS "Add EnTT natvis files to the EnTT target." OFF)
|
||||
|
||||
if(ENTT_INCLUDE_HEADERS)
|
||||
target_sources(
|
||||
@@ -196,6 +197,14 @@ if(ENTT_INCLUDE_HEADERS)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENTT_INCLUDE_TOOLS)
|
||||
target_sources(
|
||||
EnTT
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${EnTT_SOURCE_DIR}/tools/entt/davey/davey.hpp>
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENTT_INCLUDE_NATVIS)
|
||||
if(MSVC)
|
||||
set(ENTT_HAS_NATVIS TRUE CACHE BOOL "" FORCE)
|
||||
@@ -225,14 +234,6 @@ if(ENTT_HAS_NATVIS)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENTT_INCLUDE_TOOLS)
|
||||
target_sources(
|
||||
EnTT
|
||||
INTERFACE
|
||||
# for example $<BUILD_INTERFACE:${EnTT_SOURCE_DIR}/tools/entt/editor/editor.hpp>
|
||||
)
|
||||
endif()
|
||||
|
||||
# Install EnTT and all related files
|
||||
|
||||
option(ENTT_INSTALL "Install EnTT and all related files." OFF)
|
||||
|
||||
7
tools/entt/davey/davey.hpp
Normal file
7
tools/entt/davey/davey.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef ENTT_DAVEY_DAVEY_HPP
|
||||
#define ENTT_DAVEY_DAVEY_HPP
|
||||
|
||||
namespace entt {
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user