document RC_FILE_TYPE
This commit is contained in:
parent
cc4311acab
commit
d9a04a54ff
3 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,7 @@ IF(WIN32)
|
|||
SET(RC_COMMENT "${PACKAGE_NAME} library")
|
||||
SET(RC_INTERNAL_NAME "${PACKAGE_NAME} ${WIN32_MODE}")
|
||||
SET(RC_ORIGINAL_NAME ${PACKAGE_NAME}.dll)
|
||||
# RC_FILE_TYPE: VFT_DLL
|
||||
SET(RC_FILE_TYPE 0x00000002L)
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/contrib/win32/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/windows/libnfc.rc @ONLY)
|
||||
ENDIF(WIN32)
|
||||
|
|
|
@ -23,6 +23,7 @@ FOREACH(source ${EXAMPLES-SOURCES})
|
|||
SET(RC_COMMENT "${PACKAGE_NAME} example")
|
||||
SET(RC_INTERNAL_NAME ${source})
|
||||
SET(RC_ORIGINAL_NAME ${source}.exe)
|
||||
# RC_FILE_TYPE: VFT_APP
|
||||
SET(RC_FILE_TYPE 0x00000001L)
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/../windows/${source}.rc @ONLY)
|
||||
LIST(APPEND TARGETS ${CMAKE_CURRENT_BINARY_DIR}/../windows/${source}.rc)
|
||||
|
|
|
@ -23,6 +23,7 @@ FOREACH(source ${UTILS-SOURCES})
|
|||
SET(RC_COMMENT "${PACKAGE_NAME} utility")
|
||||
SET(RC_INTERNAL_NAME ${source})
|
||||
SET(RC_ORIGINAL_NAME ${source}.exe)
|
||||
# RC_FILE_TYPE: VFT_APP
|
||||
SET(RC_FILE_TYPE 0x00000001L)
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/../windows/${source}.rc @ONLY)
|
||||
LIST(APPEND TARGETS ${CMAKE_CURRENT_BINARY_DIR}/../windows/${source}.rc)
|
||||
|
|
Loading…
Reference in a new issue