diff options
| author | James Lyon <jamesly0n@hotmail.com> | 2013-04-21 11:20:20 +0100 |
|---|---|---|
| committer | James Lyon <jamesly0n@hotmail.com> | 2013-04-21 11:20:20 +0100 |
| commit | 8a81f9e1036637e21a47e14fb56bf64133546890 (patch) | |
| tree | fc7150b5f69bf24ddfe3bc0a7b94f4f23ec05926 /config.h.in | |
| parent | 05fa2e754b1f36f9dfb9e63b5c095765d64dd651 (diff) | |
| download | tinycc-8a81f9e1036637e21a47e14fb56bf64133546890.tar.gz tinycc-8a81f9e1036637e21a47e14fb56bf64133546890.tar.bz2 | |
Added CMake build system (to facilitate Win64 builds)
Win32 build and tests work under CMake, however I haven't added
install code yet. Win64 build fails due to chkstk.S failing to
assemble.
Diffstat (limited to 'config.h.in')
| -rw-r--r-- | config.h.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..63b8151 --- /dev/null +++ b/config.h.in @@ -0,0 +1,16 @@ +#define CONFIG_TCCDIR "${CMAKE_INSTALL_PREFIX}" +#define TCC_VERSION "${TCC_VERSION}" + +#cmakedefine CONFIG_WIN32 +#cmakedefine CONFIG_WIN64 + +#cmakedefine TCC_TARGET_I386 +#cmakedefine TCC_TARGET_X86_64 +#cmakedefine TCC_TARGET_ARM +#cmakedefine TCC_TARGET_C67 + +#cmakedefine TCC_TARGET_PE +#define TCC_ARM_VERSION ${TCC_ARM_VERSION} +#cmakedefine TCC_ARM_VFP +#cmakedefine TCC_ARM_EABI +#cmakedefine TCC_ARM_HARDFLOAT |
