Files
.vscode
test
forward
10jacobian_matrix_of_vector_func_using_memory_maps.cpp
11higher_order_der_of_scalar_func.cpp
12higher_order_directional_der_of_scalar_func.cpp
13higher_order_directional_der_of_vector_func.cpp
14taylor_series_of_scalar_func_along_a_direction.cpp
15taylor_series_of_vector_func_along_a_direction.cpp
1single_variable_function.cpp
2single_variable_function_with_custom_scalar.cpp
3multi_varialbe_function.cpp
4multi_variable_function_with_params.cpp
5multi_varialbe_function_rely_on_analytical_der.cpp
6gradient_vector_of_scalar_func.cpp
7gradient_vector_of_scalar_func_with_params.cpp
8jacobian_matrix_of_vector_func.cpp
9jacobian_matrix_of_vector_func_with_params.cpp
CMakeLists.txt
test.cpp
CMakeLists.txt
.gitignore
CMakeLists.txt

10 lines
303 B
CMake

file(GLOB CPPFILES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
foreach(item ${CPPFILES})
get_filename_component(itemname ${item} NAME_WE)
add_executable(${itemname} ${item})
message(STATUS "add_executable(${itemname} ${item})")
# target_link_libraries(${itemname} Eigen3::Eigen)
endforeach()