|CMAKE] Use ExternalProject for host-tools build

This commit is contained in:
Jérôme Gardou 2020-10-22 08:47:06 +02:00 committed by Jérôme Gardou
parent 6cb3b62b4c
commit bbe47e61b1
4 changed files with 31 additions and 75 deletions

View file

@ -1,3 +1,3 @@
add_custom_target(spec2def_test
py -3 ${CMAKE_CURRENT_SOURCE_DIR}/test.py $<TARGET_FILE:native-spec2def>)
py -3 ${CMAKE_CURRENT_SOURCE_DIR}/test.py $<TARGET_PROPERTY:native-spec2def,IMPORTED_LOCATION>)