diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:23:55 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:23:55 -0600 |
commit | 77597724209e748e50dcd4e8959e93d2675c85b9 (patch) | |
tree | 78d61b6ae99b289ebbe5a32b9bb0691159a3d31f | |
parent | ae53051703d24bd90646652084fabefaa757e4fa (diff) | |
download | tde-cmake-77597724209e748e50dcd4e8959e93d2675c85b9.tar.gz tde-cmake-77597724209e748e50dcd4e8959e93d2675c85b9.zip |
Additional kde to tde renaming
-rw-r--r-- | modules/TDEMacros.cmake | 24 | ||||
-rw-r--r-- | modules/template_kdeinit_module.cmake | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 54e5aca..f13c98c 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -653,7 +653,7 @@ macro( tde_add_library _arg_target ) if( _destination ) # we export only shared libs (no static, no modules); - # also, do not export targets marked as "NO_EXPORT" (usually for kdeinit) + # also, do not export targets marked as "NO_EXPORT" (usually for tdeinit) if( "SHARED" STREQUAL ${_type} AND NOT _no_export ) # get target properties: output name, version, soversion @@ -810,12 +810,12 @@ endmacro( tde_add_executable ) ################################################# ##### -##### tde_add_kdeinit_executable +##### tde_add_tdeinit_executable -macro( tde_add_kdeinit_executable _target ) +macro( tde_add_tdeinit_executable _target ) - configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_kdeinit_executable.cmake ${_target}_kdeinit_executable.cpp COPYONLY ) - configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_kdeinit_module.cmake ${_target}_kdeinit_module.cpp COPYONLY ) + configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_tdeinit_executable.cmake ${_target}_tdeinit_executable.cpp COPYONLY ) + configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_tdeinit_module.cmake ${_target}_tdeinit_module.cpp COPYONLY ) unset( _sources ) unset( _runtime_destination ) @@ -870,7 +870,7 @@ macro( tde_add_kdeinit_executable _target ) endforeach( _arg ) # if destinations are not set, we using some defaults - # we assume that kdeinit executable MUST be installed + # we assume that tdeinit executable MUST be installed # (otherwise why we build it?) if( NOT _runtime_destination ) set( _runtime_destination ${BIN_INSTALL_DIR} ) @@ -883,25 +883,25 @@ macro( tde_add_kdeinit_executable _target ) endif( NOT _plugin_destination ) # create the library - tde_add_library( kdeinit_${_target} ${_sources} SHARED ${_export} + tde_add_library( tdeinit_${_target} ${_sources} SHARED ${_export} DESTINATION ${_library_destination} ) # create the executable tde_add_executable( ${_target} - SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${_target}_kdeinit_executable.cpp - LINK kdeinit_${_target}-shared + SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${_target}_tdeinit_executable.cpp + LINK tdeinit_${_target}-shared DESTINATION ${_runtime_destination} ) # create the plugin tde_add_kpart( ${_target} - SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${_target}_kdeinit_module.cpp - LINK kdeinit_${_target}-shared + SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${_target}_tdeinit_module.cpp + LINK tdeinit_${_target}-shared DESTINATION ${_plugin_destination} ) -endmacro( tde_add_kdeinit_executable ) +endmacro( tde_add_tdeinit_executable ) ################################################# diff --git a/modules/template_kdeinit_module.cmake b/modules/template_kdeinit_module.cmake index 68be1e7..efd89d8 100644 --- a/modules/template_kdeinit_module.cmake +++ b/modules/template_kdeinit_module.cmake @@ -1,3 +1,3 @@ #include <kdemacros.h> extern "C" int kdemain(int argc, char* argv[]); -extern "C" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); } +extern "C" KDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); } |