89 Commits (c334eeda76c1c4a5d7a150c7af5976ea7a73c7ad)

Author SHA1 Message Date
Jussi Pakkanen 6f2b29e0f7 Can use files() in run_command. 8 years ago
Jussi Pakkanen 9235fd4ec1 Permit use of file objects in run targets. 8 years ago
Elliott Sales de Andrade b6ee5725c2 Fix option initialization for win32 cross-compile. (#762) 8 years ago
Jussi Pakkanen 165f8a913d Better error message when trying to use subprojects as dependencies. 8 years ago
Elliott Sales de Andrade a7cf241334 Fix validation of man page extension. (#749) 8 years ago
Emmanuele Bassi 2dd1ec6f8c Add is_even() and is_odd() integer methods 8 years ago
Emmanuele Bassi 00e5962aaa Add support to integer modulo operator 8 years ago
Saunier Thibault e411c0b930 Honor dependency `fallback` argument even if the dependency is not required (#735) 8 years ago
Elliott Sales de Andrade 4c71695e41 Use context manager for file I/O. 8 years ago
Nirbheek Chauhan 7830cb61c3 Add a new compiler object method: has_members (#723) 8 years ago
Elliott Sales de Andrade a2321b24f6 Flatten isinstance calls. (#715) 8 years ago
Matthias Klumpp 309f7a1b4a interpreter: Rename get_unittest_flag() to unittest_args() 8 years ago
Matthias Klumpp 57c54a678c Allow build definitions to retrieve the unittest flag of a D compiler 8 years ago
Matthias Klumpp 56823272ab Implement D support 8 years ago
Nirbheek Chauhan a5e01fa155 Only append compile flags to the link flags when appropriate 8 years ago
Jussi Pakkanen d90fcb4048 Created ternary operator. Closes #538. 8 years ago
Nirbheek Chauhan 58ad092ff3 interpreter: Print what subproject dir could not be found 8 years ago
Jussi Pakkanen 4a92b78e6e A few error message fixes. 8 years ago
Nirbheek Chauhan 1459d18643 dependency: Better errors when fallbacks are not found 8 years ago
Nirbheek Chauhan 88aafd363e Normalize the path of a configured file to avoid dupes (#640) 8 years ago
Nirbheek Chauhan 7217620e23 interpretor: Use the stdout/stderr locale to decode to string (#638) 8 years ago
Jussi Pakkanen c0057da133 Can get arbitrary data from cross file properties. 8 years ago
Jussi Pakkanen 0733c0f9a1 Changed run_target to take command as kwarg and add depends. This makes it behave the same as custom_target. 9 years ago
Jussi Pakkanen ea4fe8e417 Run_target can run binaries obtained with find_program. 9 years ago
Nirbheek Chauhan fe52feb47d dependency: Fix version check for a not-found dependency 9 years ago
Nirbheek Chauhan 9e5a2c5e26 Use add_target() for adding targets returned from module functions 9 years ago
Nirbheek Chauhan abf81aab77 Use cross-info c_args, c_link_args, etc for all compiler checks 9 years ago
Martin Hostettler 4979b4c84f compiler: Use cross tools args in sanity check. 9 years ago
Jussi Pakkanen beef7cb291 Added functionality to pick the first supported argument from a list. Closes #583. 9 years ago
Jussi Pakkanen d8d989d9b8 Add a has_arg method to compiler to check whether it supports a given argument. 9 years ago
Jussi Pakkanen 177e286b3c Can generate config headers without an input file. Closes #549. 9 years ago
Jussi Pakkanen 144565fabf Added method to get current project name. 9 years ago
Nirbheek Chauhan 8c34ea645d interpreter: Compare the version of a cached dependency() before using it 9 years ago
Nirbheek Chauhan 0096c51035 interpretor: Correctly check the version of a fallback dependency 9 years ago
Nirbheek Chauhan acdd4bd523 interpreter: Set declare_dependency version from the project version if missing 9 years ago
Nirbheek Chauhan c33e7a68a1 Also reuse subproject-based fallback dependencies 9 years ago
Nirbheek Chauhan f2256ba098 interpreter: Check if subproject version is defined before comparing 9 years ago
Nirbheek Chauhan 065dcee7f3 interpreter: Switch to prev_subdir on non-existant subdir (#571) 9 years ago
Jussi Pakkanen cff4e7d299 Can query version strings of dependencies. 9 years ago
Jussi Pakkanen b5013a573a Added semantic versioning comparison method to strings. 9 years ago
Jussi Pakkanen 28b555d2c8 Whitespace fix to test new Docker setup. 9 years ago
Jussi Pakkanen 7694321276 Renamed compile&link args and made them accessible from get_option. 9 years ago
Jussi Pakkanen 4377f773e0 Can set global linker arguments. Closes #536. 9 years ago
Jussi Pakkanen ac152a2282 Every target must have a non-empty name. 9 years ago
Jussi Pakkanen 3b3c05f6b1 Can pass extra args to xgettext. Closes #554. 9 years ago
Jussi Pakkanen 2a3a1ce8e0 Join() convenience method for strings. Closes #552. 9 years ago
Nirbheek Chauhan 7aad3ff658 interpretor: Fix typo in has_exe_wrapper 9 years ago
Jussi Pakkanen afe7252476 Can specify a stdlib subproject that is used implicitly on all targets with said language. 9 years ago
Jussi Pakkanen dc148e0702 Remove all special casing for gettext and use elementary operations instead. 9 years ago
Hemmo Nieminen 7da51f3756 Do not append a period to test suite names. 9 years ago