diff options
author | Peter Johnson <peter@tortall.net> | 2008-05-22 09:08:03 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2008-05-22 09:08:03 +0000 |
commit | b7f2fbc64fcfe8e30650a32e3354613aceaceb0c (patch) | |
tree | 785bf9ebd79ce3369af295bfbeea0b75faffa5be /config.h.cmake | |
parent | 811d7ad566a3e7df758c47d4f11dcf4ea82a403d (diff) | |
download | yasm-b7f2fbc64fcfe8e30650a32e3354613aceaceb0c.tar.gz |
Add cmake build infrastructure.
Not default nor even distributed in the .tar.gz, the cmake build allows for
loadable yasm plugins by building libyasm as a shared library.
Example plugins are in the plugins/ directory, and may be loaded into a
cmake-built yasm using the -N command line option (non-cmake builds will
not have this option).
Tested only on Linux so far, but should be relatively painless to port to
Windows thanks to the use of cmake rather than libtool to create shared
libraries.
The only modification to the main source tree is some conditional-compiled
additions to yasm.c.
svn path=/trunk/yasm/; revision=2098
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake new file mode 100644 index 00000000..d282b931 --- /dev/null +++ b/config.h.cmake @@ -0,0 +1,51 @@ +/* config.h. Generated by cmake from config.h.cmake */ + +#define CMAKE_BUILD 1 + +/* Define if messsage translations are enabled */ +#cmakedefine ENABLE_NLS 1 + +/* */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the <libgen.h> header file. */ +#cmakedefine HAVE_LIBGEN_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 <direct.h> header file. */ +#cmakedefine HAVE_DIRECT_H 1 + +/* Define to 1 if you have the `getcwd' function. */ +#cmakedefine HAVE_GETCWD 1 + +/* Define to 1 if you have the `toascii' function. */ +#cmakedefine HAVE_TOASCII 1 + +/* Name of package */ +#define PACKAGE "yasm" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "bug-yasm@tortall.net" + +/* Define to internal version of this package. */ +#define PACKAGE_INTVER "@PACKAGE_INTVER@" + +/* Define to build version of this package. */ +#define PACKAGE_BUILD "@PACKAGE_BUILD@" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "yasm" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "@PACKAGE_STRING@" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "@PACKAGE_VERSION@" + +#define VERSION PACKAGE_VERSION + +/* Command name to run C preprocessor */ +#define CPP_PROG "@CPP_PROG@" + |