diff options
author | Yi Kong <yikong@google.com> | 2022-02-25 15:25:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-02-25 15:25:03 +0000 |
commit | 79df15ea886a5fc1b85de433f9b3518c68934bae (patch) | |
tree | fb979fb4cf4f8052c8cc66b1ec9516d91fcd859b /bench/btl/data/CMakeLists.txt | |
parent | ca5aa72016f062fd0712bcb86370478de332bca3 (diff) | |
parent | 12ea3a4d62567971576a37d196fde0824f7f0ec9 (diff) | |
download | eigen-79df15ea886a5fc1b85de433f9b3518c68934bae.tar.gz |
Merge changes Iee153445,Iee274471
* changes:
Fix Wunused-parameter warning
Upgrade eigen to 3.4.0
Diffstat (limited to 'bench/btl/data/CMakeLists.txt')
-rw-r--r-- | bench/btl/data/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bench/btl/data/CMakeLists.txt b/bench/btl/data/CMakeLists.txt index 6af2a366f..580c1ced0 100644 --- a/bench/btl/data/CMakeLists.txt +++ b/bench/btl/data/CMakeLists.txt @@ -1,25 +1,25 @@ -ADD_CUSTOM_TARGET(copy_scripts) +add_custom_target(copy_scripts) -SET(script_files go_mean mk_mean_script.sh mk_new_gnuplot.sh +set(script_files go_mean mk_mean_script.sh mk_new_gnuplot.sh perlib_plot_settings.txt action_settings.txt gnuplot_common_settings.hh ) -FOREACH(script_file ${script_files}) -ADD_CUSTOM_COMMAND( +foreach(script_file ${script_files}) +add_custom_command( TARGET copy_scripts POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/${script_file} ${CMAKE_CURRENT_BINARY_DIR}/ ARGS ) -ENDFOREACH(script_file) +endforeach(script_file) -ADD_CUSTOM_COMMAND( +add_custom_command( TARGET copy_scripts POST_BUILD COMMAND ${CMAKE_CXX_COMPILER} --version | head -n 1 > ${CMAKE_CURRENT_BINARY_DIR}/compiler_version.txt ARGS ) -ADD_CUSTOM_COMMAND( +add_custom_command( TARGET copy_scripts POST_BUILD COMMAND echo "${Eigen_SOURCE_DIR}" > ${CMAKE_CURRENT_BINARY_DIR}/eigen_root_dir.txt |