Commit Graph

13 Commits

Author SHA1 Message Date
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