diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-02-20 21:02:51 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-02-20 21:02:51 (GMT) |
commit | 2ab03bd4f0b92eae6035dade70298e840f012d9e (patch) | |
tree | ae7e350cb96f059dfe8585e8b48aa56f7a8d7724 /Modules/KDE3Macros.cmake | |
parent | 747f135d2c8bb13c4ed1327798bf85a3ab71457b (diff) | |
download | CMake-2ab03bd4f0b92eae6035dade70298e840f012d9e.zip CMake-2ab03bd4f0b92eae6035dade70298e840f012d9e.tar.gz CMake-2ab03bd4f0b92eae6035dade70298e840f012d9e.tar.bz2 |
BUG: remove KDE3_ENABLE_FINAL (#4140): it doesn't work currently and I
don't have the time to fix this since it would require bigger changes. Maybe
I'll do this if the KDE3 support of CMake becomes more widely used.
Alex
Diffstat (limited to 'Modules/KDE3Macros.cmake')
-rw-r--r-- | Modules/KDE3Macros.cmake | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Modules/KDE3Macros.cmake b/Modules/KDE3Macros.cmake index 6866fe2..722e299 100644 --- a/Modules/KDE3Macros.cmake +++ b/Modules/KDE3Macros.cmake @@ -39,7 +39,7 @@ MACRO(KDE3_ADD_DCOP_SKELS _sources) ARGS ${_tmp_FILE} > ${_kidl} DEPENDS ${_tmp_FILE} ) - + ENDIF (NOT HAVE_${_basename}_KIDL_RULE) IF (NOT HAVE_${_basename}_SKEL_RULE) @@ -334,7 +334,7 @@ MACRO(KDE3_CREATE_FINAL_FILE _filename) ENDMACRO(KDE3_CREATE_FINAL_FILE) -OPTION(KDE3_ENABLE_FINAL "Enable final all-in-one compilation") +# OPTION(KDE3_ENABLE_FINAL "Enable final all-in-one compilation") OPTION(KDE3_BUILD_TESTS "Build the tests") @@ -346,12 +346,12 @@ MACRO(KDE3_ADD_KPART _target_NAME _with_PREFIX) SET(_first_SRC ${_with_PREFIX}) ENDIF (${_with_PREFIX} STREQUAL "WITH_PREFIX") - IF (KDE3_ENABLE_FINAL) - KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN}) - ADD_LIBRARY(${_target_NAME} MODULE ${_target_NAME}_final.cpp) - ELSE (KDE3_ENABLE_FINAL) - ADD_LIBRARY(${_target_NAME} MODULE ${_first_SRC} ${ARGN}) - ENDIF (KDE3_ENABLE_FINAL) +# IF (KDE3_ENABLE_FINAL) +# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN}) +# ADD_LIBRARY(${_target_NAME} MODULE ${_target_NAME}_final.cpp) +# ELSE (KDE3_ENABLE_FINAL) + ADD_LIBRARY(${_target_NAME} MODULE ${_first_SRC} ${ARGN}) +# ENDIF (KDE3_ENABLE_FINAL) IF(_first_SRC) SET_TARGET_PROPERTIES(${_target_NAME} PROPERTIES PREFIX "") @@ -364,12 +364,12 @@ ENDMACRO(KDE3_ADD_KPART) MACRO(KDE3_ADD_KDEINIT_EXECUTABLE _target_NAME ) - IF (KDE3_ENABLE_FINAL) - KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) - ADD_LIBRARY(kdeinit_${_target_NAME} SHARED ${_target_NAME}_final.cpp) - ELSE (KDE3_ENABLE_FINAL) - ADD_LIBRARY(kdeinit_${_target_NAME} SHARED ${ARGN} ) - ENDIF (KDE3_ENABLE_FINAL) +# IF (KDE3_ENABLE_FINAL) +# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) +# ADD_LIBRARY(kdeinit_${_target_NAME} SHARED ${_target_NAME}_final.cpp) +# ELSE (KDE3_ENABLE_FINAL) + ADD_LIBRARY(kdeinit_${_target_NAME} SHARED ${ARGN} ) +# ENDIF (KDE3_ENABLE_FINAL) CONFIGURE_FILE(${KDE3_MODULE_DIR}/kde3init_dummy.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp) @@ -381,12 +381,12 @@ ENDMACRO(KDE3_ADD_KDEINIT_EXECUTABLE) MACRO(KDE3_ADD_EXECUTABLE _target_NAME ) - IF (KDE3_ENABLE_FINAL) - KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) - ADD_EXECUTABLE(${_target_NAME} ${_target_NAME}_final.cpp) - ELSE (KDE3_ENABLE_FINAL) - ADD_EXECUTABLE(${_target_NAME} ${ARGN} ) - ENDIF (KDE3_ENABLE_FINAL) +# IF (KDE3_ENABLE_FINAL) +# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) +# ADD_EXECUTABLE(${_target_NAME} ${_target_NAME}_final.cpp) +# ELSE (KDE3_ENABLE_FINAL) + ADD_EXECUTABLE(${_target_NAME} ${ARGN} ) +# ENDIF (KDE3_ENABLE_FINAL) ENDMACRO(KDE3_ADD_EXECUTABLE) |