libfreefare/examples/CMakeLists.txt
Romain Tartière 07695f4c18 Remove subversion artifacts.
We do not have $Id$ to expand anymore.
2015-05-12 12:22:39 +02:00

24 lines
767 B
CMake

set(EXAMPLES-SOURCES
mifare-classic-format
mifare-classic-read-ndef
mifare-classic-write-ndef
mifare-desfire-access
mifare-desfire-create-ndef
mifare-desfire-format
mifare-desfire-info
mifare-desfire-read-ndef
mifare-desfire-write-ndef
mifare-desfire-ev1-configure-ats
mifare-desfire-ev1-configure-default-key
mifare-desfire-ev1-configure-random-uid
mifare-ultralight-info
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../libfreefare)
# Examples
foreach(source ${EXAMPLES-SOURCES})
add_executable(${source} ${source}.c)
target_link_libraries(${source} freefare)
install(TARGETS ${source} RUNTIME DESTINATION bin COMPONENT examples)
endforeach(source)