diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-10-22 06:56:56 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-10-22 06:56:56 +0000 |
| commit | 3659f80796239dc8a6bb30b4176636fd85f2924a (patch) | |
| tree | a647d55bae427bd887e4c037a7275382cdd638b1 /qpid/cpp/bindings/qmf | |
| parent | 0c95a63008ee6b575e5defe860232e91675802db (diff) | |
| download | qpid-python-3659f80796239dc8a6bb30b4176636fd85f2924a.tar.gz | |
QPID-3633: Make cmake the primary build tool for the cpp tree
Get Swigged bindings to install in the correct place
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1400781 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf')
| -rw-r--r-- | qpid/cpp/bindings/qmf/CMakeLists.txt | 37 | ||||
| -rw-r--r-- | qpid/cpp/bindings/qmf/python/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | qpid/cpp/bindings/qmf/ruby/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 40 deletions
diff --git a/qpid/cpp/bindings/qmf/CMakeLists.txt b/qpid/cpp/bindings/qmf/CMakeLists.txt deleted file mode 100644 index 5e40539e80..0000000000 --- a/qpid/cpp/bindings/qmf/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - - -include(FindSWIG) -include(UseSWIG) -include(FindRuby) -include(FindPythonLibs) -include(FindPerlLibs) - -if (SWIG_FOUND) - set(CMAKE_SWIG_FLAGS "-w362,401") - - if (PYTHONLIBS_FOUND) - add_subdirectory(python) - endif (PYTHONLIBS_FOUND) - - if (RUBY_FOUND) - add_subdirectory(ruby) - endif (RUBY_FOUND) -endif (SWIG_FOUND) diff --git a/qpid/cpp/bindings/qmf/python/CMakeLists.txt b/qpid/cpp/bindings/qmf/python/CMakeLists.txt index 9bc6b2e878..50e36f36dd 100644 --- a/qpid/cpp/bindings/qmf/python/CMakeLists.txt +++ b/qpid/cpp/bindings/qmf/python/CMakeLists.txt @@ -47,12 +47,12 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qmfengine.py ${CMAKE_CURRENT_SOURCE_DIR}/qmf.py ${CMAKE_CURRENT_BINARY_DIR}/qmf.pyc ${CMAKE_CURRENT_BINARY_DIR}/qmf.pyo - DESTINATION ${PYTHON_SITE_PACKAGES} + DESTINATION ${PYTHON_SITEARCH_PACKAGES} COMPONENT ${QPID_COMPONENT_CLIENT} ) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/_qmfengine_python.so RENAME _qmfengine.so - DESTINATION ${PYTHON_SITE_PACKAGES} + DESTINATION ${PYTHON_SITEARCH_PACKAGES} COMPONENT ${QPID_COMPONENT_CLIENT} ) diff --git a/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt b/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt index 702606139b..ce853b767b 100644 --- a/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt +++ b/qpid/cpp/bindings/qmf/ruby/CMakeLists.txt @@ -32,6 +32,6 @@ swig_link_libraries(qmfengine_ruby qmf qmfconsole ${RUBY_LIBRARY}) ##---------------------------------- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqmfengine_ruby.so RENAME qmfengine.so - DESTINATION ${RUBY_ARCH_DIR} + DESTINATION ${RUBY_PFX_ARCH_DIR} COMPONENT ${QPID_COMPONENT_CLIENT} ) |
