From 6579fef308adbd67eba30811abb4da7478031575 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 23 Apr 2009 22:59:12 +0000 Subject: Merge in initial changes to allow building with CMake; rubygen and managementgen can now generate either .mk files or .cmake files as needed; CONF_FILE and MODULE_DIR macros now have broker/client counterparts QPIDD_CONF_FILE, QPIDD_MODULE_DIR, QPIDC_CONF_FILE, QPIDC_MODULE_DIR configurable by cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@768085 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/config.h.cmake | 51 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 qpid/cpp/src/config.h.cmake (limited to 'qpid/cpp/src/config.h.cmake') diff --git a/qpid/cpp/src/config.h.cmake b/qpid/cpp/src/config.h.cmake new file mode 100644 index 0000000000..69e6523c92 --- /dev/null +++ b/qpid/cpp/src/config.h.cmake @@ -0,0 +1,51 @@ +/* + * + * Copyright (c) 2006 The Apache Software Foundation + * + * Licensed 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. + * + */ + +/* + * This file is automatically generated and will be overwritten by the + * next CMake invocation. + */ + +#ifndef QPID_CONFIG_H +#define QPID_CONFIG_H + +// PACKAGE_NAME and PACKAGE_VERSION are carry-overs from the autoconf world. +// They tend to cause confusion and problems when mixing headers from multiple +// autoconf-configured packages, so it's best to remove these in favor of +// Qpid-specific names as soon as the autoconf stuff is removed. +#define PACKAGE_NAME "${CMAKE_PROJECT_NAME}" +#define PACKAGE_VERSION "${qpidc_version}" + +#cmakedefine QPIDC_CONF_FILE "${QPIDC_CONF_FILE}" +#cmakedefine QPIDD_CONF_FILE "${QPIDD_CONF_FILE}" + +#cmakedefine QPIDC_MODULE_DIR "${QPIDC_MODULE_DIR}" +#cmakedefine QPIDD_MODULE_DIR "${QPIDD_MODULE_DIR}" + +#cmakedefine QPID_HAS_CLOCK_GETTIME + +#cmakedefine QPID_HAS_SASL +#cmakedefine BROKER_SASL_NAME "${BROKER_SASL_NAME}" +#ifdef QPID_HAS_SASL +# define HAVE_SASL 1 +#endif + +#cmakedefine HAVE_LOG_AUTHPRIV +#cmakedefine HAVE_LOG_FTP + +#endif /* QPID_CONFIG_H */ -- cgit v1.2.1