]> granicus.if.org Git - yasm/commit
Add cmake build infrastructure.
authorPeter Johnson <peter@tortall.net>
Thu, 22 May 2008 09:08:03 +0000 (09:08 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 22 May 2008 09:08:03 +0000 (09:08 -0000)
commitb7f2fbc64fcfe8e30650a32e3354613aceaceb0c
tree785bf9ebd79ce3369af295bfbeea0b75faffa5be
parent811d7ad566a3e7df758c47d4f11dcf4ea82a403d
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
54 files changed:
CMakeLists.txt [new file with mode: 0644]
ConfigureChecks.cmake [new file with mode: 0644]
cmake/CMakeLists.txt [new file with mode: 0644]
cmake/modules/CMakeLists.txt [new file with mode: 0644]
cmake/modules/DummyCFile.c [new file with mode: 0644]
cmake/modules/YasmMacros.cmake [new file with mode: 0644]
config.h.cmake [new file with mode: 0644]
frontends/CMakeLists.txt [new file with mode: 0644]
frontends/yasm/CMakeLists.txt [new file with mode: 0644]
frontends/yasm/genstring.py [new file with mode: 0755]
frontends/yasm/yasm-plugin.c [new file with mode: 0644]
frontends/yasm/yasm-plugin.h [new file with mode: 0644]
frontends/yasm/yasm.c
libyasm-stdint.h.cmake [new file with mode: 0644]
libyasm/CMakeLists.txt [new file with mode: 0644]
libyasm/cmake-module.c [new file with mode: 0644]
modules/CMakeLists.txt [new file with mode: 0644]
modules/arch/CMakeLists.txt [new file with mode: 0644]
modules/arch/lc3b/CMakeLists.txt [new file with mode: 0644]
modules/arch/x86/CMakeLists.txt [new file with mode: 0644]
modules/dbgfmts/CMakeLists.txt [new file with mode: 0644]
modules/dbgfmts/codeview/CMakeLists.txt [new file with mode: 0644]
modules/dbgfmts/dwarf2/CMakeLists.txt [new file with mode: 0644]
modules/dbgfmts/null/CMakeLists.txt [new file with mode: 0644]
modules/dbgfmts/stabs/CMakeLists.txt [new file with mode: 0644]
modules/listfmts/CMakeLists.txt [new file with mode: 0644]
modules/listfmts/nasm/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/bin/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/coff/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/dbg/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/elf/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/macho/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/rdf/CMakeLists.txt [new file with mode: 0644]
modules/objfmts/xdf/CMakeLists.txt [new file with mode: 0644]
modules/parsers/CMakeLists.txt [new file with mode: 0644]
modules/parsers/gas/CMakeLists.txt [new file with mode: 0644]
modules/parsers/nasm/CMakeLists.txt [new file with mode: 0644]
modules/preprocs/CMakeLists.txt [new file with mode: 0644]
modules/preprocs/cpp/CMakeLists.txt [new file with mode: 0644]
modules/preprocs/nasm/CMakeLists.txt [new file with mode: 0644]
modules/preprocs/raw/CMakeLists.txt [new file with mode: 0644]
plugins/README [new file with mode: 0644]
plugins/dbg/CMakeLists.txt [new file with mode: 0644]
plugins/dbg/README [new file with mode: 0644]
plugins/dbg/dbg-objfmt.c [new file with mode: 0644]
plugins/dbg/init_plugin.c [new file with mode: 0644]
plugins/x86/CMakeLists.txt [new file with mode: 0644]
plugins/x86/README [new file with mode: 0644]
plugins/x86/init_plugin.c [new file with mode: 0644]
tools/CMakeLists.txt [new file with mode: 0644]
tools/genmacro/CMakeLists.txt [new file with mode: 0644]
tools/genperf/CMakeLists.txt [new file with mode: 0644]
tools/re2c/CMakeLists.txt [new file with mode: 0644]