mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-17 13:03:48 +00:00
Windows support contribution:
- Move CMake modules from cmake_modules/ to cmake/modules/ - CMake now use cmake/config_windows.h.cmake to create config.h on Windows platform - contrib/windows.h header is automagically included by config.h - Put missing NFC_EXPORT macro on front of emulation API - nfc-mfclassic and nfc-mfcultralight examples are now compiled under Windows Many thanks to Glenn Ergeerts which provide the initial patch.
This commit is contained in:
5
cmake/config_windows.h.cmake
Normal file
5
cmake/config_windows.h.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "contrib/windows.h"
|
||||
|
||||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
|
||||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
|
||||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
||||
Reference in New Issue
Block a user