Commit Graph

23 Commits

Author SHA1 Message Date
Mat Sutcliffe
82679a3010 Replace qmake variable BLACK_CONFIG with a system based on json files.
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Roland Winklmeier
266e8a768d Add .astylerc to project
By adding it, QtCreator automatically finds and uses it in its
Beautifier plugin.
2018-02-04 08:59:59 +01:00
Klaus Basan
e81211775b RW's review fixes Ref T202 Ref T189 Ref T210
* dmg comment and follow up issue created
* cppcheck-suppress passedByValue in cppcheck.supp
* renamed from Xsb -> XSwiftBus
* reverted wrong "static const QString dataStr"
2017-12-21 19:50:19 +01:00
Roland Winklmeier
7317ddd155 Add first batch of configuration tests
Summary:
Configuration tests check whether all mandatory dependencies to build
swift are met. They can also be used to check optional dependencies, which
results in certain features to be enabled or disabled.
This first batch tests for mandatory libraries libpng, zlib and OpenGL.
If this is not tested and some libraries are missing, the developer will
be notified very late in the build.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins

Differential Revision: https://dev.swift-project.org/D34
2017-09-24 19:49:30 +01:00
Mathew Sutcliffe
1801616953 refs #624 Use conditional SUBDIRS instead of REQUIRES for enabling/disabling subprojects. 2016-03-22 16:03:00 +00:00
Mathew Sutcliffe
9968ccbbdb refs #461 Use the REQUIRES variable in the leaf projects instead of conditions at the SUBDIRS level. 2015-11-23 23:29:29 +00:00
Mathew Sutcliffe
7c9ddd1fda refs #461 SUBDIRS projects will need common_post. 2015-11-23 10:52:37 +00:00
Roland Winklmeier
7ece093ee9 Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS
template. The following additional changes are made:
- Removed '_' from all targets and folder names
- Aligned parent folder and target name

refs #461
2015-11-23 09:50:44 +01:00
Michal Garapich
3781cf2095 refs #392 Add config window for FSX
* Added plugin_fsx_config subproject
* Removed CSettingsFsxComponent from BlackGui
* Added CSimConnectSettingsComponent
* Add x-plane_install_10.txt path for Windows
2015-11-19 21:08:29 +00:00
Michał Garapich
a0b4d47736 refs #392 Added BlackGui::IPluginConfig
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Klaus Basan
6dd66284ca refs #473, own launcher subproject
* command line args for swift GUI
* removed _ from swiftgui_standard
* removed _ from swift_resources
2015-11-19 21:06:36 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Klaus Basan
ab46ed615c refs #452, added a resource project just adding files such as icons, data files etc. 2015-11-19 20:58:32 +00:00
Klaus Basan
f8c83ce2a3 some fixes
* as of slack discussion with MG, made area finding a bit more robust
* removed unused function in keypadarea
* added unit test subproject for GUI
2015-11-19 20:57:37 +00:00
Klaus Basan
a2527e69e3 refs #445, prepared for data entry GUI
* unified init of GUIs
* used CProject::swiftVersionString()
2015-11-19 20:57:28 +00:00
Roland Winklmeier
eb93317190 Remove sample_geo 2015-05-30 17:00:02 +02:00
Roland Winklmeier
25f090ac64 Remove sample_voice_client 2015-05-30 16:59:58 +02:00
Roland Winklmeier
4ed0b6a54f refs #429 Rename swiftcorectrl to swiftcore 2015-05-25 16:09:36 +02:00
Roland Winklmeier
0ee967a066 refs #429 Remove console version of swiftcore 2015-05-25 16:09:34 +02:00
Roland Winklmeier
b03448c89b refs #412 swiftcorectrl 2015-05-21 01:37:45 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00
Roland Winklmeier
edea438b8f rename client.pro to swift.pro 2014-12-27 11:08:50 +01:00