add new thirdparty lib, ExprTk

This commit is contained in:
falsycat 2022-11-19 17:09:46 +09:00
parent 5bd00c97d2
commit 8b9b7f669f
2 changed files with 17 additions and 1 deletions

View File

@ -162,11 +162,13 @@ target_sources(nf7
file/system_nfile.cc
file/system_node.cc
file/value_curve.cc
file/value_expr.cc
file/value_imm.cc
file/value_plot.cc
)
target_link_libraries(nf7
PRIVATE
exprtk
freetype
glew
glfw

View File

@ -10,8 +10,22 @@ else()
endif()
# ---- ExprTk ----
# repository: https://github.com/ArashPartow/exprtk
# license : MIT
FetchContent_Declare(
exprtk
URL "https://github.com/ArashPartow/exprtk/archive/refs/tags/0.0.1.zip"
)
FetchContent_Populate(exprtk)
add_library(exprtk INTERFACE)
target_include_directories(exprtk SYSTEM INTERFACE "${exprtk_SOURCE_DIR}")
# ---- FreeType ----
# repository:
# repository: https://gitlab.freedesktop.org/freetype/freetype
# license : The FreeType License
FetchContent_Declare(