|
|
@ -414,6 +414,10 @@ endmacro( tde_install_la_file )
|
|
|
|
##### tde_add_ui_files
|
|
|
|
##### tde_add_ui_files
|
|
|
|
|
|
|
|
|
|
|
|
macro( tde_add_ui_files _sources )
|
|
|
|
macro( tde_add_ui_files _sources )
|
|
|
|
|
|
|
|
if( TDE_FOUND OR "${CMAKE_PROJECT_NAME}" STREQUAL "tdelibs" )
|
|
|
|
|
|
|
|
set( HAVE_TDE 1 )
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
foreach( _ui_file ${ARGN} )
|
|
|
|
foreach( _ui_file ${ARGN} )
|
|
|
|
|
|
|
|
|
|
|
|
get_filename_component( _ui_basename ${_ui_file} NAME_WE )
|
|
|
|
get_filename_component( _ui_basename ${_ui_file} NAME_WE )
|
|
|
@ -430,7 +434,7 @@ macro( tde_add_ui_files _sources )
|
|
|
|
-DUI_FILE:FILEPATH=${_ui_absolute_path}
|
|
|
|
-DUI_FILE:FILEPATH=${_ui_absolute_path}
|
|
|
|
-DMASTER_SOURCE_DIR:FILEPATH=${CMAKE_SOURCE_DIR}
|
|
|
|
-DMASTER_SOURCE_DIR:FILEPATH=${CMAKE_SOURCE_DIR}
|
|
|
|
-DMASTER_BINARY_DIR:FILEPATH=${CMAKE_BINARY_DIR}
|
|
|
|
-DMASTER_BINARY_DIR:FILEPATH=${CMAKE_BINARY_DIR}
|
|
|
|
-DTDE_FOUND=${TDE_FOUND}
|
|
|
|
-DTDE_FOUND=${HAVE_TDE}
|
|
|
|
-DTQT_ONLY=${TQT_ONLY}
|
|
|
|
-DTQT_ONLY=${TQT_ONLY}
|
|
|
|
-P ${TDE_CMAKE_MODULES}/tde_uic.cmake
|
|
|
|
-P ${TDE_CMAKE_MODULES}/tde_uic.cmake
|
|
|
|
DEPENDS ${_ui_absolute_path} )
|
|
|
|
DEPENDS ${_ui_absolute_path} )
|
|
|
|