mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-08-07 03:37:30 +00:00
Add ExprTk_BUILD_EXAMPLES to build examples
Also move examples into an examples folder
This commit is contained in:
CMakeLists.txt
examples
CMakeLists.txtexprtk_simple_example_01.cppexprtk_simple_example_02.cppexprtk_simple_example_03.cppexprtk_simple_example_04.cppexprtk_simple_example_05.cppexprtk_simple_example_06.cppexprtk_simple_example_07.cppexprtk_simple_example_08.cppexprtk_simple_example_09.cppexprtk_simple_example_10.cppexprtk_simple_example_11.cppexprtk_simple_example_12.cppexprtk_simple_example_13.cppexprtk_simple_example_14.cppexprtk_simple_example_15.cppexprtk_simple_example_16.cppexprtk_simple_example_17.cppexprtk_simple_example_18.cppexprtk_simple_example_19.cpp
71
examples/CMakeLists.txt
Normal file
71
examples/CMakeLists.txt
Normal file
@ -0,0 +1,71 @@
|
||||
# **************************************************************
|
||||
# * C++ Mathematical Expression Toolkit Library *
|
||||
# * *
|
||||
# * Author: Arash Partow (1999-2023) *
|
||||
# * URL: https://www.partow.net/programming/exprtk/index.html *
|
||||
# * *
|
||||
# * Copyright notice: *
|
||||
# * Free use of the Mathematical Expression Toolkit Library is *
|
||||
# * permitted under the guidelines and in accordance with the *
|
||||
# * most current version of the MIT License. *
|
||||
# * http://www.opensource.org/licenses/MIT *
|
||||
# * *
|
||||
# **************************************************************
|
||||
|
||||
# create executables for each example
|
||||
add_executable(exprtk_simple_example_01 exprtk_simple_example_01.cpp)
|
||||
target_link_libraries(exprtk_simple_example_01 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_02 exprtk_simple_example_02.cpp)
|
||||
target_link_libraries(exprtk_simple_example_02 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_03 exprtk_simple_example_03.cpp)
|
||||
target_link_libraries(exprtk_simple_example_03 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_04 exprtk_simple_example_04.cpp)
|
||||
target_link_libraries(exprtk_simple_example_04 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_05 exprtk_simple_example_05.cpp)
|
||||
target_link_libraries(exprtk_simple_example_05 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_06 exprtk_simple_example_06.cpp)
|
||||
target_link_libraries(exprtk_simple_example_06 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_07 exprtk_simple_example_07.cpp)
|
||||
target_link_libraries(exprtk_simple_example_07 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_08 exprtk_simple_example_08.cpp)
|
||||
target_link_libraries(exprtk_simple_example_08 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_09 exprtk_simple_example_09.cpp)
|
||||
target_link_libraries(exprtk_simple_example_09 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_10 exprtk_simple_example_10.cpp)
|
||||
target_link_libraries(exprtk_simple_example_10 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_11 exprtk_simple_example_11.cpp)
|
||||
target_link_libraries(exprtk_simple_example_11 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_12 exprtk_simple_example_12.cpp)
|
||||
target_link_libraries(exprtk_simple_example_12 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_13 exprtk_simple_example_13.cpp)
|
||||
target_link_libraries(exprtk_simple_example_13 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_14 exprtk_simple_example_14.cpp)
|
||||
target_link_libraries(exprtk_simple_example_14 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_15 exprtk_simple_example_15.cpp)
|
||||
target_link_libraries(exprtk_simple_example_15 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_16 exprtk_simple_example_16.cpp)
|
||||
target_link_libraries(exprtk_simple_example_16 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_17 exprtk_simple_example_17.cpp)
|
||||
target_link_libraries(exprtk_simple_example_17 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_18 exprtk_simple_example_18.cpp)
|
||||
target_link_libraries(exprtk_simple_example_18 ExprTk)
|
||||
|
||||
add_executable(exprtk_simple_example_19 exprtk_simple_example_19.cpp)
|
||||
target_link_libraries(exprtk_simple_example_19 ExprTk)
|
Reference in New Issue
Block a user