Cmake: add CONFFILES define like available in autotools build system
This commit is contained in:
parent
a7fc1bddaf
commit
0ee6dcad4b
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ ELSE(LIBNFC_DEBUG_MODE)
|
||||||
SET(WIN32_MODE "release")
|
SET(WIN32_MODE "release")
|
||||||
ENDIF(LIBNFC_DEBUG_MODE)
|
ENDIF(LIBNFC_DEBUG_MODE)
|
||||||
|
|
||||||
|
SET(LIBNFC_CONFFILES_MODE ON CACHE BOOL "Enable configuration files")
|
||||||
|
IF(LIBNFC_CONFFILES_MODE)
|
||||||
|
ADD_DEFINITIONS(-DCONFFILES)
|
||||||
|
ENDIF(LIBNFC_CONFFILES_MODE)
|
||||||
|
|
||||||
# Doxygen
|
# Doxygen
|
||||||
SET(builddir "${CMAKE_BINARY_DIR}")
|
SET(builddir "${CMAKE_BINARY_DIR}")
|
||||||
SET(top_srcdir "${CMAKE_SOURCE_DIR}")
|
SET(top_srcdir "${CMAKE_SOURCE_DIR}")
|
||||||
|
|
Loading…
Reference in a new issue