Commit Graph

61 Commits

Author SHA1 Message Date
Jussi Pakkanen 161d633f36 Added support for calling into C. 2015-12-12 00:17:44 +02:00
Jussi Pakkanen d531f915b1 Can build Swift libraries and link them. 2015-12-11 00:19:25 +02:00
Jussi Pakkanen 43b07729aa Reworked swift code so now can use multiple source files in one target. 2015-12-10 21:49:41 +02:00
Jussi Pakkanen 7ed515dacc Refactored dep file name so Swift dependency tracking works. 2015-12-07 21:52:08 +02:00
Jussi Pakkanen d92504797f Can build simple Swift executables. 2015-12-07 21:12:23 +02:00
Thibault Saunier b15aa49af2 Handle the case where we can not execute a file the tempdir 2015-12-04 10:17:49 +01:00
Jussi Pakkanen 1caf7e6f4a Yet another step in the neverending saga of -Wpedantic. 2015-11-23 00:57:01 +02:00
Jussi Pakkanen e33cf31347 Do not use the linker in cross C++ sanity check to make bare metal projects work. 2015-11-22 14:50:52 +02:00
Jussi Pakkanen 78e2cf0641 More logging for compiler sanity testing. 2015-11-22 14:39:21 +02:00
Jussi Pakkanen 5f44748ddd Fix debug format for msvc optimized builds. 2015-11-19 02:27:54 +02:00
Jussi Pakkanen 8495075cee Turned builtin options into proper objects. 2015-11-03 03:31:56 +02:00
Jussi Pakkanen 2984d421b7 Put extra flags at the end because some versions of gcc do not handle -l flags before the source file. 2015-10-27 23:58:41 +02:00
Jussi Pakkanen f16986e31b Can set extra args to all compilation checks. 2015-10-22 19:36:48 +03:00
Jussi Pakkanen 0c63556286 Extra args also for compiles. Closes #292. 2015-10-20 22:04:50 +03:00
Jussi Pakkanen 538073a9cf Created a link test method. 2015-10-20 20:46:42 +03:00
Jussi Pakkanen 1c186d4a30 Only compile when doing cross compilation sanity checks because linking gets way too complicated. 2015-10-18 00:04:45 +03:00
Jussi Pakkanen a05f0385e3 Clang fix. 2015-10-16 00:06:02 +03:00
Jussi Pakkanen 0d56955e9c Created a stringarray option type and added Windows system libs option that uses it. 2015-10-12 22:22:13 +03:00
Jussi Pakkanen 9a4016d37a Added option for VS exception type. 2015-10-05 21:35:15 +03:00
Jussi Pakkanen 50663144c3 Can set compiler options, added language versions for Gnu and Clang. 2015-10-04 03:41:38 +03:00
Jussi Pakkanen d76e89f780 Extracted common functionality to base class. 2015-10-04 02:57:07 +03:00
Jussi Pakkanen d23e59ed5f But build type build args to vs command line. 2015-09-20 21:24:54 +03:00
Jussi Pakkanen 5c5f8c7813 Merged trunk changes. 2015-09-17 20:07:40 +03:00
Jussi Pakkanen 067935ce76 Added conf option for build tree layout. 2015-09-17 19:21:26 +03:00
Jussi Pakkanen 776f899e78 Made boost on windows kinda work. 2015-09-06 18:38:27 +03:00
Jussi Pakkanen 4dd6a85075 Fix Windows again. 2015-09-06 16:35:55 +03:00
Jussi Pakkanen 2e3bd006d3 Converted alignment check to work also when cross compiling. 2015-09-05 15:17:02 +03:00
Jussi Pakkanen ad5795ed2e Converted sizeof check to work also when cross compiling. 2015-09-05 15:03:20 +03:00
Jussi Pakkanen 70f4e388ca Merge pull request #246 from mesonbuild/warnreorg
Added warning level option.
2015-09-04 23:51:38 +03:00
Marko Raatikainen 28f60ca474 Fix shared libraries for fortran 2015-08-31 20:20:11 +03:00
Jussi Pakkanen 4a06f6d399 Do not use fpic on mingw as it is not needed. 2015-08-30 21:35:20 +03:00
Jussi Pakkanen 6cca79b052 Added multiple selectable warning levels. 2015-08-27 01:07:29 +03:00
Jussi Pakkanen cd97f7a768 Give sanity test binaries different names. Also expose project version to modules. 2015-08-25 01:29:16 +03:00
Jussi Pakkanen bd5b4deeda Better sanity testing. 2015-08-25 01:19:58 +03:00
Jussi Pakkanen 199c57d8d6 Added debugging output. 2015-08-25 00:48:47 +03:00
Jussi Pakkanen eb3cdb6f8d Changed cross compilation file to new format. 2015-07-27 00:54:40 +03:00
Jussi Pakkanen cbc3723797 Store warning flags in object instead of class because it does not seem to unpickle cleanly on some platforms. Closes #209. 2015-07-23 20:39:20 +03:00
Igor Gnatenko 19ae286aff compilers: fix can_compile. Closes #189
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-07-01 21:26:56 +03:00
Jussi Pakkanen 6f76c45a54 Added dummy id field. Closes #181. 2015-06-22 21:48:05 +03:00
Jussi Pakkanen dc7665a7dd Add dummy gcctype. Closes #184. 2015-06-22 21:45:44 +03:00
Jussi Pakkanen ec761ce560 Add gcctype for objc. Closes #179. Closes #180. 2015-06-22 21:42:00 +03:00
Jussi Pakkanen 2b3b0ee449 Added name_string method. Closes #182. Closes #183. 2015-06-22 21:32:44 +03:00
Jussi Pakkanen 9c63d8cd48 Added name_string method. Closes #177. Closes #178 2015-06-22 21:32:17 +03:00
Jussi Pakkanen 756b3365be Added name_string method. Closes #176. 2015-06-22 21:28:06 +03:00
Igor Gnatenko 11c3ec1998 compiler: fix bad-continuation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-06-19 10:48:51 +03:00
Jussi Pakkanen 9107bc35d7 Write compile attempts to log. Closes #135. 2015-06-18 21:03:01 +03:00
Igor Gnatenko 46804d4fe6 add has_type method
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-05-21 19:10:01 +03:00
Jussi Pakkanen 0ba1d545af Accept .S files as assembler too. 2015-05-20 22:32:55 +03:00
Jussi Pakkanen 05b6220844 In Vala .vapi files are sort of headers that you must put on the command line. Make it so. 2015-05-17 19:24:02 +03:00
Jussi Pakkanen 852fb28888 Do not use -o with Vala. Closes #120. 2015-05-17 18:53:12 +03:00