mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Allow setting VATSIM key on qmake commandline.
Summary: By qualifying the key with `isEmpty` it prevents overwriting a value specified on the commandline. Reviewers: rwinklmeier Reviewed By: rwinklmeier Subscribers: jenkins Tags: #swift_pilot_client Differential Revision: https://dev.swift-project.org/D51
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
# VATSIM client id as assigned by VATSIM Network team. The one below is a test key.
|
||||
# It is working only with VATGER test server.
|
||||
VATSIM_CLIENT_ID = "0xb9ba"
|
||||
isEmpty(VATSIM_CLIENT_ID):VATSIM_CLIENT_ID = "0xb9ba"
|
||||
|
||||
# VATSIM private key, which belongs to the id above.
|
||||
VATSIM_CLIENT_PRIVATE_KEY = "727d1efd5cb9f8d2c28372469d922bb4"
|
||||
isEmpty(VATSIM_CLIENT_PRIVATE_KEY):VATSIM_CLIENT_PRIVATE_KEY = "727d1efd5cb9f8d2c28372469d922bb4"
|
||||
|
||||
# Comment the section below to build a version without VATSIM features enabled
|
||||
BLACK_CONFIG *= SwiftVatsimSupport
|
||||
|
||||
Reference in New Issue
Block a user