~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to tools/CMakeLists.txt

  • Committer: Thomas-Karl Pietrowski
  • Date: 2014-01-29 22:44:28 UTC
  • Revision ID: thopiekar@googlemail.com-20140129224428-gpcqnsdakby362n8
firstĀ import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INSTALL( FILES notify-message DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/zypp" )
 
2
 
 
3
## ############################################################
 
4
 
 
5
FILE( GLOB ALLCC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc" )
 
6
STRING( REPLACE ".cc" ";" APLLPROG ${ALLCC} )
 
7
FOREACH( loop_var ${APLLPROG} )
 
8
  ADD_EXECUTABLE( ${loop_var}
 
9
    ${loop_var}.cc
 
10
  )
 
11
  TARGET_LINK_LIBRARIES( ${loop_var}
 
12
    zypp
 
13
    ${Boost_PROGRAM_OPTIONS_LIBRARY}
 
14
  )
 
15
ENDFOREACH( loop_var )
 
16
 
 
17
## ############################################################
 
18
 
 
19
INSTALL(TARGETS zypp-CheckAccessDeleted DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")