diff options
author | Timothy Pearson <[email protected]> | 2011-11-24 18:25:45 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-09-01 17:12:19 +0200 |
commit | 2884c24964bd60ff78579bec1125fe7dbcfd0fbb (patch) | |
tree | c9ad4bb27b7fdd14d69f5c98ded56d135c70d2bd /cmake/QtCurveQt3.cmake | |
parent | c94b518befc88a845c8ea1e91d1d49ca685af34e (diff) | |
download | tde-style-qtcurve-2884c24964bd60ff78579bec1125fe7dbcfd0fbb.tar.gz tde-style-qtcurve-2884c24964bd60ff78579bec1125fe7dbcfd0fbb.zip |
Initial conversion to standard CMake system
(cherry picked from commit 1899f45e7a77a15dcb9c8aa6b382a3fed578142d)
Diffstat (limited to 'cmake/QtCurveQt3.cmake')
-rw-r--r-- | cmake/QtCurveQt3.cmake | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/cmake/QtCurveQt3.cmake b/cmake/QtCurveQt3.cmake deleted file mode 100644 index dac1b1b..0000000 --- a/cmake/QtCurveQt3.cmake +++ /dev/null @@ -1,27 +0,0 @@ -FILE(GLOB GLOB_PATHS_BIN /usr/lib/qt-3*/bin/) -FIND_PATH(QT_PLUGINS_DIR imageformats - $ENV{QTDIR}/plugins - ${GLOB_PATHS_BIN} - /usr/local/qt/plugins - /usr/lib/qt/plugins - /usr/lib/qt3/plugins - /usr/share/qt3/plugins - ) - -MACRO(QTCURVE_QT_WRAP_CPP outfiles ) - # get include dirs - GET_DIRECTORY_PROPERTY(moc_includes_tmp INCLUDE_DIRECTORIES) - SET(moc_includes) - - FOREACH(it ${ARGN}) - GET_FILENAME_COMPONENT(outfilename ${it} NAME_WE) - GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE) - SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfilename}.moc) - ADD_CUSTOM_COMMAND(OUTPUT ${outfile} - COMMAND ${QT_MOC_EXECUTABLE} - ARGS -o ${outfile} ${infile} - DEPENDS ${infile}) - SET(${outfiles} ${${outfiles}} ${outfile}) - ENDFOREACH(it) - -ENDMACRO(QTCURVE_QT_WRAP_CPP) |