mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-22 20:38:01 -05:00
Add test for MATLAB
Closes https://github.com/CoolProp/CoolProp/issues/202 Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -673,6 +673,10 @@ if (COOLPROP_MATLAB_SWIG_MODULE)
|
||||
add_dependencies (CoolPropMATLAB_wrap generate_headers)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/+CoolProp.7z DESTINATION ${CMAKE_INSTALL_PREFIX}/MATLAB)
|
||||
install (TARGETS CoolPropMATLAB_wrap DESTINATION ${CMAKE_INSTALL_PREFIX}/MATLAB)
|
||||
enable_testing()
|
||||
add_test(NAME MATLABtest
|
||||
COMMAND $ENV{MATLAB_ROOT}/bin/matlab -r ${CMAKE_SOURCE_DIR}/wrappers/MATLAB/test -nojvm -nodesktop -nosplash
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
endif()
|
||||
|
||||
if (COOLPROP_MATLAB_MODULE)
|
||||
|
||||
Reference in New Issue
Block a user