Commit Graph

21 Commits

Author SHA1 Message Date
Dylan Baker 38e2c0e8f5 Make GnuStepDependency a ConfigToolDependency 2017-11-23 19:54:48 -08:00
Dylan Baker 061cf99cd6 Make WxDependency a ConfigToolDependency 2017-11-23 19:54:48 -08:00
Dylan Baker 22fed0b424 Fix wrapping of docstrings in GnuStep dependency. 2017-11-23 19:54:47 -08:00
Nirbheek Chauhan d2a250412c compilers: Improve manual library searching
We can now specify the library type we want to search for, and whether
we want to prefer static libraries over shared ones or the other way
around. This functionality is not exposed to build files yet.
2017-11-11 23:06:48 +05:30
Alexis Jeandet e553d0807b Last round with listify function refactoring.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2017-09-18 22:25:34 +02:00
nyorain ec445c3598 Fix vulkan style issue 2017-07-27 12:10:12 +02:00
nyorain 6dd9098cd7 Fix vulkan windows; Make test succeed w/o driver
Fix an error in the windows vulkan_sdk library finding.
Also don't fail the vulkan test only because no vulkan
driver is installed (should fix the travis error).
2017-07-27 12:05:08 +02:00
nyorain 02e5c58efc Fix style issue in vulkan dep 2017-07-25 23:25:00 +02:00
nyorain 005e041645 Fix vulkan module for linux
Rework the vulkan module:
	- adopt the VULKAN_SDK paths for its linux version
	- add sanity tests for the VULKAN_SDK path
	- add guessing as last fallback, needed on linux systems
	  on which no vulkan pkgconfig is installed [ubuntu atm]
	- restructure exception handling/branching

Not tested on windows yet.
2017-07-25 23:20:05 +02:00
nyorain 0c2ef49dc5 Trigger travis 2017-07-25 21:49:01 +02:00
nyorain 2174027ba1 Fix whitespace issues 2017-07-24 18:49:23 +02:00
nyorain 29e2aac690 Add first vulkan dependency module 2017-07-24 18:30:23 +02:00
Jussi Pakkanen b2a90f1838 Removed unnecessary pass statements. 2017-07-16 12:02:48 +03:00
Philippe Payant e4daad369a Select release or debug libraries for Qt, based on buildtype. 2017-06-27 11:56:21 -04:00
Philippe Payant 85eddf4eb2 Library names for Qt4 was incorrect. 2017-06-27 11:56:21 -04:00
Jussi Pakkanen 7c7dc0efde Fix a stray variable renaming. Closes #1952. 2017-06-18 03:48:59 +03:00
Nirbheek Chauhan 1441cb9812 wxwidgets: Fix usage of multiple dependency() calls
This was broken because the class property will say True but the
object property will not be set. Store the value on the class property
and transfer to object in __init__. Just like PkgConfigDependency.
2017-06-17 12:33:06 +03:00
Nirbheek Chauhan c1e9c757eb tests: Increase dependencies coverage a bit more 2017-06-10 00:20:03 +05:30
Nirbheek Chauhan c4d7667675 ExtraFrameworkDependency: Don't set required
Otherwise we will never hit the informative DependencyException.
2017-06-09 20:21:01 +05:30
Nirbheek Chauhan 0c83f8352d dependencies: Add a new class ExternalDependency
This class now consolidates a lot of the logic that each external
dependency was duplicating in its class definition.

All external dependencies now set:

* self.version
* self.compile_args and self.link_args
* self.is_found (if found)
* self.sources
* etc

And the abstract ExternalDependency class defines the methods that
will fetch those properties. Some classes still override that for
various reasons, but those should also be migrated to properties as
far as possible.

Next step is to consolidate and standardize the way in which we call
'configuration binaries' such as sdl2-config, llvm-config, pkg-config,
etc. Currently each class has to duplicate code involved with that
even though the format is very similar.

Currently only pkg-config supports multiple version requirements, and
some classes don't even properly check the version requirement. That
will also become easier now.
2017-06-09 20:21:01 +05:30
Elliott Sales de Andrade 23f9b42d3b Split UI-related into a separate file.
Some of these are a bit bigger than just UI libraries, but this division
seems close enough.
2017-05-09 18:13:09 -04:00