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.
13 lines
322 B
13 lines
322 B
cmake_minimum_required(VERSION 2.8) |
|
|
|
project(tools) |
|
|
|
add_custom_target(wol ALL COMMAND gcc wol.c -o wol) |
|
|
|
set(tools fwinfo miniboot checksum eeprom_fix) |
|
|
|
foreach(tool ${tools}) |
|
add_executable( ${tool} ${tool}.c ) |
|
add_definitions("-std=gnu99 -Wall -Wextra -Wshadow") |
|
target_link_libraries( ${tool} carlfw ) |
|
endforeach()
|
|
|