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.
18 lines
0 B
18 lines
0 B
10 years ago
|
# compiler tools
|
||
10 years ago
|
foreach(tool nm ld)
|
||
10 years ago
|
string(TOUPPER ${tool} TOOL)
|
||
|
find_program(${TOOL} ${tool})
|
||
|
if(NOT ${TOOL})
|
||
9 years ago
|
message(FATAL_ERROR "could not find ${tool}")
|
||
10 years ago
|
endif()
|
||
|
endforeach()
|
||
|
|
||
|
# os tools
|
||
9 years ago
|
foreach(tool echo grep rm mkdir nm cp touch make unzip)
|
||
10 years ago
|
string(TOUPPER ${tool} TOOL)
|
||
|
find_program(${TOOL} ${tool})
|
||
|
if(NOT ${TOOL})
|
||
|
message(FATAL_ERROR "could not find ${TOOL}")
|
||
|
endif()
|
||
|
endforeach()
|