Author: dmacvicar Date: Sun Apr 20 22:43:19 2008 New Revision: 46879 URL: http://svn.opensuse.org/viewcvs/yast?rev=46879&view=rev Log: no debug Modified: trunk/devtools/devtools/cmake/modules/YastCommon.cmake Modified: trunk/devtools/devtools/cmake/modules/YastCommon.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/cmake/modules/YastCommon.cmake?rev=46879&r1=46878&r2=46879&view=diff ============================================================================== --- trunk/devtools/devtools/cmake/modules/YastCommon.cmake (original) +++ trunk/devtools/devtools/cmake/modules/YastCommon.cmake Sun Apr 20 22:43:19 2008 @@ -1,3 +1,18 @@ +# Generic macros for YaST +# +# The module defined the following functions and variables +# +# LIB_INSTALL_DIR - where to install libraries +# usually ${CMAKE_INSTALL_PREFIX}/lib or lib64 +# +# YAST_PLUGIN_DIR - where YaST plugins, agents etc, go +# ${LIB_INSTALL_DIR}/YaST2/plugins +# YAST_IMAGE_DIR +# YAST_DATA_DIR +# +# + + #SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3 -Wall -Woverloaded-virtual" ) #SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O3 -Wall" ) @@ -28,7 +43,6 @@ SET(YAST_IMAGE_DIR ${CMAKE_INSTALL_PREFIX}/YaST2/plugin) SET(YAST_DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/YaST2/data) - IF (NOT DEFINED RPMNAME) FILE(READ "${CMAKE_SOURCE_DIR}/RPMNAME" RPMNAME) STRING(REPLACE "\n" "" RPMNAME ${RPMNAME}) @@ -175,12 +189,10 @@ ENDMACRO(GENERATE_PACKAGING) macro(y2_add_agent) - MESSAGE(STATUS "${ARGV0} ${ARGV2}") set(name ${ARGV0}) set(srcs ${ARGV1}) if(NOT srcs) file( GLOB srcs ${CMAKE_CURRENT_SOURCE_DIR}/*.cc ) - MESSAGE(STATUS "${srcs}") endif(NOT srcs) add_library(pyag_${name} SHARED ${srcs}) SET_TARGET_PROPERTIES( pyag_${name} PROPERTIES VERSION 2.0 ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org