_PYQT4_WRAP_GET_UNIQUE_TARGET_NAME(BUILD_UI_PY_FILES _uniqueTargetName)
ADD_CUSTOM_TARGET(${_uniqueTargetName} ALL DEPENDS ${${outfiles}})
- ELSEIF(NOT WIN32)
+ ELSE(NOT WIN32)
####
# ANA: Workaround for the Microsoft Visual Studio 2010. Seems there is a bug in
# the Microsoft Visual Studio 2010 or CMake 2.8.10.2: custom target doesn't work
SET(_output ${CMAKE_CURRENT_BINARY_DIR}/${_input_name})
_PYQT4_WRAP_GET_UNIQUE_TARGET_NAME(BUILD_UI_PY_FILES _TgName)
ADD_CUSTOM_TARGET(${_TgName} ${PYQT_PYUIC_PATH} -o ${_output} ${CMAKE_CURRENT_SOURCE_DIR}/${_input}
- COMMENT ANA:${_output}
DEPENDS ${_input}
)
SET_TARGET_PROPERTIES(${_TgName} PROPERTIES FOLDER PYQT4_WRAP_UIC_TARGETS)