|
|
|
@ -489,7 +489,7 @@ macro( tde_add_ui_files _sources )
|
|
|
|
|
-DUIC_EXECUTABLE:FILEPATH=${UIC_EXECUTABLE}
|
|
|
|
|
-DTQT_REPLACE_SCRIPT:FILEPATH=${TQT_REPLACE_SCRIPT}
|
|
|
|
|
-DTDE_TQTPLUGINS_DIR:FILEPATH=${TDE_TQTPLUGINS_DIR}
|
|
|
|
|
-DMOC_EXECUTABLE:FILEPATH=${MOC_EXECUTABLE}
|
|
|
|
|
-DTQMOC_EXECUTABLE:FILEPATH=${TQMOC_EXECUTABLE}
|
|
|
|
|
-DUI_FILE:FILEPATH=${_ui_absolute_path}
|
|
|
|
|
-DMASTER_SOURCE_DIR:FILEPATH=${CMAKE_SOURCE_DIR}
|
|
|
|
|
-DMASTER_BINARY_DIR:FILEPATH=${CMAKE_BINARY_DIR}
|
|
|
|
@ -514,7 +514,7 @@ macro( tde_moc _sources )
|
|
|
|
|
set( _output_file "${_basename}.moc.cpp" )
|
|
|
|
|
add_custom_command( OUTPUT ${_output_file}
|
|
|
|
|
COMMAND
|
|
|
|
|
${TMOC_EXECUTABLE} ${_input_file} -o ${_output_file}
|
|
|
|
|
${TQMOC_EXECUTABLE} ${_input_file} -o ${_output_file}
|
|
|
|
|
DEPENDS
|
|
|
|
|
${_input_file} )
|
|
|
|
|
list( APPEND ${_sources} ${_output_file} )
|
|
|
|
@ -571,7 +571,7 @@ macro( tde_automoc )
|
|
|
|
|
# moc-ing header
|
|
|
|
|
file( RELATIVE_PATH _moc_file_relative "${CMAKE_BINARY_DIR}" "${_moc_file}" )
|
|
|
|
|
add_custom_command( OUTPUT ${_moc_file}
|
|
|
|
|
COMMAND ${TMOC_EXECUTABLE} ${_header_file} -o ${_moc_file}
|
|
|
|
|
COMMAND ${TQMOC_EXECUTABLE} ${_header_file} -o ${_moc_file}
|
|
|
|
|
COMMENT "Generating ${_moc_file_relative}"
|
|
|
|
|
DEPENDS ${_header_file} )
|
|
|
|
|
|
|
|
|
@ -606,7 +606,7 @@ macro( tde_automoc )
|
|
|
|
|
|
|
|
|
|
add_custom_command( OUTPUT ${_automoc_file}
|
|
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
|
|
-DTMOC_EXECUTABLE:FILEPATH=${TMOC_EXECUTABLE}
|
|
|
|
|
-DTQMOC_EXECUTABLE:FILEPATH=${TQMOC_EXECUTABLE}
|
|
|
|
|
-DSRC_FILE:FILEPATH=${CMAKE_CURRENT_BINARY_DIR}/${_basename}
|
|
|
|
|
-DMETA_INCLUDES:STRING="${_meta_includes}"
|
|
|
|
|
-DMASTER_SOURCE_DIR:FILEPATH=${CMAKE_SOURCE_DIR}
|
|
|
|
|