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