~kubuntu-members/korundum/4.11

« back to all changes in this revision

Viewing changes to korundum/modules/solid/CMakeLists.txt

  • Committer: Ian Monroe
  • Date: 2010-11-21 15:55:01 UTC
  • Revision ID: git-v1:c37670e4e3c59f5eb2ba112f5341a5e706217f6f
Split up Smoke into Qt and KDE directories. 
Move libsmoke stuff into the generator directory
Split up Ruby into qtruby and korundum directories

svn path=/trunk/KDE/kdebindings/ruby/; revision=1199320

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories( ${CMAKE_SOURCE_DIR}/smoke ${RUBY_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/ruby/qtruby/src)
 
2
INCLUDE_DIRECTORIES (${QT_INCLUDES} ${KDE4_INCLUDE_DIR})
 
3
 
 
4
set(rubysolid_LIBRARY_SRC solid.cpp solidhandlers.cpp)
 
5
 
 
6
add_library(rubysolid MODULE ${rubysolid_LIBRARY_SRC})
 
7
target_link_libraries(rubysolid
 
8
    ${KDE4_SOLID_LIBS}
 
9
    smokesolid
 
10
    qtruby4shared
 
11
)
 
12
set_target_properties(rubysolid PROPERTIES PREFIX "" OUTPUT_NAME solid)
 
13
install(TARGETS rubysolid DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
 
14
install(FILES solid.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/solid)
 
15
 
 
16
if (Q_WS_MAC)
 
17
    install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/solid.so\"  \"${CUSTOM_RUBY_SITE_ARCH_DIR}/solid.bundle\" )" )
 
18
endif (Q_WS_MAC)