Add card.html support to embedded resources
This commit includes `card.html` in the embedded files by updating the `all.hpp` file. It modifies the function to map and include the `card.html` resource. Additionally, `index.html` was updated to ensure the latest content is embedded.
This commit is contained in:
@@ -4,16 +4,17 @@ project(Toolbox)
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(saucer_no_version_check ON)
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build as shared library" ON)
|
||||
|
||||
add_subdirectory(lib/saucer)
|
||||
add_subdirectory(lib/lua)
|
||||
add_subdirectory(lib/sol2)
|
||||
|
||||
include_directories(inc)
|
||||
include_directories(out_embed)
|
||||
#include_directories(out_embed)
|
||||
file(GLOB_RECURSE SOURCES "src/*.cpp" "inc/*.h")
|
||||
|
||||
add_executable(Toolbox main.cpp ${SOURCES})
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE "out_embed")
|
||||
target_link_libraries(Toolbox PRIVATE saucer::saucer sol2::sol2 lua)
|
||||
|
||||
Reference in New Issue
Block a user