Add Microsoft Windows support.

Update issue 62
Status: Feedback
Gleen, I slightly modified your patches to better stick with the style of the
rest of the project,  Can you please confirm that it does not break?

PR:		Issue 62
Submitted by:	glenn.ergeerts
This commit is contained in:
Romain Tartiere 2011-04-24 10:21:03 +00:00
parent 0f32259ee2
commit de64cce14c
8 changed files with 207 additions and 1 deletions

21
examples/CMakeLists.txt Normal file
View file

@ -0,0 +1,21 @@
# $Id$
set(EXAMPLES-SOURCES
mifare-classic-format
mifare-classic-write-ndef
mifare-desfire-access
mifare-desfire-format
mifare-desfire-info
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)