You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
401 B
17 lines
401 B
# compiler tools |
|
foreach(tool nm ld) |
|
string(TOUPPER ${tool} TOOL) |
|
find_program(${TOOL} ${tool}) |
|
if(NOT ${TOOL}) |
|
message(FATAL_ERROR "could not find ${tool}") |
|
endif() |
|
endforeach() |
|
|
|
# os tools |
|
foreach(tool echo grep rm mkdir nm cp touch make unzip) |
|
string(TOUPPER ${tool} TOOL) |
|
find_program(${TOOL} ${tool}) |
|
if(NOT ${TOOL}) |
|
message(FATAL_ERROR "could not find ${TOOL}") |
|
endif() |
|
endforeach()
|
|
|