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/qmf2 | |
| 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/qmf2')
| -rw-r--r-- | qpid/cpp/bindings/qmf2/CMakeLists.txt | 37 | ||||
| -rw-r--r-- | qpid/cpp/bindings/qmf2/python/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | qpid/cpp/bindings/qmf2/ruby/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 40 deletions
diff --git a/qpid/cpp/bindings/qmf2/CMakeLists.txt b/qpid/cpp/bindings/qmf2/CMakeLists.txt deleted file mode 100644 index 5e40539e80..0000000000 --- a/qpid/cpp/bindings/qmf2/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/qmf2/python/CMakeLists.txt b/qpid/cpp/bindings/qmf2/python/CMakeLists.txt index 2e71ca34e7..c245824b64 100644 --- a/qpid/cpp/bindings/qmf2/python/CMakeLists.txt +++ b/qpid/cpp/bindings/qmf2/python/CMakeLists.txt @@ -47,12 +47,12 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cqmf2.py ${CMAKE_CURRENT_BINARY_DIR}/qmf2.py ${CMAKE_CURRENT_BINARY_DIR}/qmf2.pyc ${CMAKE_CURRENT_BINARY_DIR}/qmf2.pyo - DESTINATION ${PYTHON_SITE_PACKAGES} + DESTINATION ${PYTHON_SITEARCH_PACKAGES} COMPONENT ${QPID_COMPONENT_CLIENT} ) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/_cqmf2_python.so RENAME _cqmf2.so - DESTINATION ${PYTHON_SITE_PACKAGES} + DESTINATION ${PYTHON_SITEARCH_PACKAGES} COMPONENT ${QPID_COMPONENT_CLIENT} ) diff --git a/qpid/cpp/bindings/qmf2/ruby/CMakeLists.txt b/qpid/cpp/bindings/qmf2/ruby/CMakeLists.txt index 1cb969f7dc..f3d2cd0d9e 100644 --- a/qpid/cpp/bindings/qmf2/ruby/CMakeLists.txt +++ b/qpid/cpp/bindings/qmf2/ruby/CMakeLists.txt @@ -32,7 +32,7 @@ swig_link_libraries(cqmf2_ruby qmf2 ${RUBY_LIBRARY}) ##---------------------------------- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libcqmf2_ruby.so RENAME cqmf2.so - DESTINATION ${RUBY_ARCH_DIR} + DESTINATION ${RUBY_PFX_ARCH_DIR} COMPONENT ${QPID_COMPONENT_CLIENT} ) |
