2011-04-24 10:21:03 +00:00
|
|
|
# $Id$
|
|
|
|
set(EXAMPLES-SOURCES
|
|
|
|
mifare-classic-format
|
2012-03-15 01:48:43 +00:00
|
|
|
mifare-classic-read-ndef
|
2011-04-24 10:21:03 +00:00
|
|
|
mifare-classic-write-ndef
|
|
|
|
mifare-desfire-access
|
2012-03-14 23:05:10 +00:00
|
|
|
mifare-desfire-create-ndef
|
2011-04-24 10:21:03 +00:00
|
|
|
mifare-desfire-format
|
|
|
|
mifare-desfire-info
|
2012-03-15 01:48:43 +00:00
|
|
|
mifare-desfire-read-ndef
|
2011-04-24 10:21:03 +00:00
|
|
|
mifare-desfire-write-ndef
|
|
|
|
mifare-desfire-ev1-configure-ats
|
|
|
|
mifare-desfire-ev1-configure-default-key
|
|
|
|
mifare-desfire-ev1-configure-random-uid
|
|
|
|
)
|
|
|
|
|
|
|
|
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)
|