mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Add Inja template library.
This commit is contained in:
parent
0ef37e977c
commit
b08a024298
13
vendor/Inja/CMakeLists.txt
vendored
Normal file
13
vendor/Inja/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# Create the inja template library
|
||||
add_library(inja STATIC
|
||||
include/inja/inja.hpp inja.cpp
|
||||
)
|
||||
# Configure include folders
|
||||
target_include_directories(inja PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_include_directories(inja PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
# Configure macro options
|
||||
if (WIN32)
|
||||
target_compile_definitions(inja PRIVATE _WIN32_WINNT=0x0601)
|
||||
endif()
|
||||
# Link to nlohmann json library
|
||||
target_link_libraries(inja PRIVATE nlohmann_json)
|
21
vendor/Inja/LICENSE
vendored
Normal file
21
vendor/Inja/LICENSE
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018-2021 Berscheid
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
2937
vendor/Inja/include/inja/inja.hpp
vendored
Normal file
2937
vendor/Inja/include/inja/inja.hpp
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
vendor/Inja/inja.cpp
vendored
Normal file
1
vendor/Inja/inja.cpp
vendored
Normal file
@ -0,0 +1 @@
|
||||
#include <inja/inja.hpp>
|
Loading…
Reference in New Issue
Block a user