This adds
config.h.cmake
which was missing in the first patch.
It seems that I will need help getting this committed.
CMake fans please step forward and make your voices heard. CMake has been accused of being off the beaten path.
From my perspective, those that take the autotools path are the ones being
beaten.
It is not a problem to support two build tools for an indefinite period in
time. The space in the repository is free.
Dick
Index: src/config.h.cmake
===================================================================
--- src/config.h.cmake (revision 0)
+++ src/config.h.cmake (revision 0)
@@ -0,0 +1,197 @@
+/***************************************************************************
+ * Copyright (C) 2009 SoftPLC Corporation http://softplc.com *
+ * Dick Hollenbeck <d...@softplc.com> *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
+/* config.h is created by CMake during a preprocessing operation from config.h.cmake */
+
+/* if you want the Amontec JTAG-Accelerator driver. */
+#cmakedefine BUILD_AMTJTAGACCEL 1
+
+/* if you want the ARM-JTAG-EW JTAG driver. */
+#cmakedefine BUILD_ARMJTAGEW 1
+
+/* if you want at91rm9200. */
+#cmakedefine BUILD_AT91RM9200 1
+
+/* if you want a bitbang interface. */
+#cmakedefine BUILD_BITBANG 1
+
+/* if you want a bitq interface. */
+#cmakedefine BUILD_BITQ 1
+
+/* if you want dummy driver. */
+#cmakedefine BUILD_DUMMY 1
+
+/* if you want eCosBoard. */
+#cmakedefine BUILD_ECOSBOARD 1
+
+/* if you want ep93xx. */
+#cmakedefine BUILD_EP93XX 1
+
+/* if you want ftd2xx ft2232. */
+#cmakedefine BUILD_FT2232_FTD2XX 1
+
+/* if you want libftdi ft2232. */
+#cmakedefine BUILD_FT2232_LIBFTDI 1
+
+/* if you want the Gateworks GW16012 driver. */
+#cmakedefine BUILD_GW16012 1
+
+/* if you want httpd. */
+#cmakedefine BUILD_HTTPD 1
+
+/* if you want ioutils. */
+#cmakedefine BUILD_IOUTIL 1
+
+/* if you want the J-Link JTAG driver. */
+#cmakedefine BUILD_JLINK 1
+
+/* if you want the OpenOCD+trace ETM capture driver. */
+#cmakedefine BUILD_OOCD_TRACE 1
+
+/* if you want parport. */
+#cmakedefine BUILD_PARPORT 1
+
+/* if you want the ASIX PRESTO driver using FTD2XX. */
+#cmakedefine BUILD_PRESTO_FTD2XX 1
+
+/* if you want the ASIX PRESTO driver using libftdi. */
+#cmakedefine BUILD_PRESTO_LIBFTDI 1
+
+/* if you want the RLink JTAG driver. */
+#cmakedefine BUILD_RLINK 1
+
+/* if you want the usbprog JTAG driver. */
+#cmakedefine BUILD_USBPROG 1
+
+/* if you want the Versaloon-Link JTAG driver. */
+#cmakedefine BUILD_VSLLINK 1
+
+/* if you want parport to use giveio. */
+#cmakedefine PARPORT_USE_GIVEIO 1
+
+/* if you want parport to use ppdev. */
+#cmakedefine PARPORT_USE_PPDEV 1
+
+/* Define to 1 if you have the <elf.h> header file. */
+#cmakedefine HAVE_ELF_H 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#cmakedefine HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#cmakedefine HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <jtag_minidriver.h> header file. */
+#cmakedefine HAVE_JTAG_MINIDRIVER_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#cmakedefine HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <stdbool.h> header file. */
+#cmakedefine HAVE_STDBOOL_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#cmakedefine HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#cmakedefine HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#cmakedefine HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#cmakedefine HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strndup' function. */
+#cmakedefine HAVE_STRNDUP 1
+
+/* Define to 1 if you have the `strnlen' function. */
+#cmakedefine HAVE_STRNLEN 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#cmakedefine HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#cmakedefine HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#cmakedefine HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#cmakedefine HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#cmakedefine HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the `usleep' function. */
+#cmakedefine HAVE_USLEEP 1
+
+/* Define to 1 if you have the `vasprintf' function. */
+#cmakedefine HAVE_VASPRINTF 1
+
+/* Define to 1 if you have the ANSI C header files. */
+#cmakedefine STDC_HEADERS 1
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#cmakedefine TIME_WITH_SYS_TIME 1
+
+/* Version number of package */
+#define VERSION "${VERSION}"
+
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+#cmakedefine WORDS_BIGENDIAN 1
+
+/* if not building for Cygwin. */
+#cmakedefine IS_CYGWIN 1
+
+/* 1 if building for MinGW. */
+#cmakedefine IS_MINGW 1
+
+/* if not building for Win32. */
+#cmakedefine IS_WIN32 1
+
+/* Name of package */
+#cmakedefine PACKAGE 1
+
+/* Define to the address where bug reports for this package should be sent. */
+#cmakedefine PACKAGE_BUGREPORT 1
+
+/* Define to the full name of this package. */
+#cmakedefine PACKAGE_NAME 1
+
+/* Define to the full name and version of this package. */
+#cmakedefine PACKAGE_STRING 1
+
+/* Define to the one symbol short name of this package. */
+#cmakedefine PACKAGE_TARNAME 1
+
+/* Define to the version of this package. */
+#cmakedefine PACKAGE_VERSION 1
+
+#define PKGLIBDIR "${PKGLIBDIR}"
+
+#define PKGDATADIR "${PKGDATADIR}"
+
+/* Define the subversion revision number, in double quotes */
+#define PKGBLDREV "${PKGBLDREV}"
+
+/* A leading prompt for the version number, in double quotes */
+#define RELSTR "${RELSTR}"
Property changes on: src/config.h.cmake
___________________________________________________________________
Added: svn:eol-style
+ native
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development