1DS C++ SDK
Перейти к файлу
Matt Koscumb 0dc15480e0 Build break fixes in Devmain 2018-09-11 11:55:39 -07:00
OneSdkSampleApp Drafts for v3 2018-03-30 17:05:05 -07:00
Sample Reinstate ILogController and associated permission checks. 2018-04-19 14:03:47 -07:00
Solutions Add ARIASDK_SPEC to LogManagerProvider.hpp and add a custom build config for HelloAria sample to verify the case when the main app is built as stdcall rather than cdecl. 2018-09-06 17:04:46 -07:00
bondlite Drafts for v3 2018-03-30 17:05:05 -07:00
docs Build scripts + start tracking release notes for v3 SDK 2018-09-05 14:47:54 -07:00
examples Add ARIASDK_SPEC to LogManagerProvider.hpp and add a custom build config for HelloAria sample to verify the case when the main app is built as stdcall rather than cdecl. 2018-09-06 17:04:46 -07:00
googletest Retarget all projects to latest release of Windows 10 SDK 2018-08-31 18:28:14 -07:00
lib Build break fixes in Devmain 2018-09-11 11:55:39 -07:00
linktest Integrate Linux fixes 2018-04-12 15:57:01 -07:00
sqlite Turn off whole program optimization of sqlite3 to avoid LTCG 2018-09-06 12:56:12 -07:00
sqliteUWP Retarget all projects to latest release of Windows 10 SDK 2018-08-31 18:28:14 -07:00
tests Build break fixes in Devmain 2018-09-11 11:55:39 -07:00
tools Add RHEL and CentOS 7 support 2018-09-06 18:07:01 -04:00
uap-cpp Drafts for v3 2018-03-30 17:05:05 -07:00
wrappers/go Integrate Linux fixes 2018-04-12 15:57:01 -07:00
zlib Trying to fix ARM build issue that happens only on ARIA-BUILD-02, but not other machines :-/ 2018-09-05 12:32:22 -07:00
.gitattributes Pushing NewCPP to a new Master Branch, check out old repo for history 2017-05-10 10:29:11 -07:00
.gitignore Integrate Linux fixes 2018-04-12 15:57:01 -07:00
CMakeLists.txt Add RHEL and CentOS 7 support 2018-09-06 18:07:01 -04:00
README.md Drafts for v3 2018-03-30 17:05:05 -07:00
RunOACR.bat Drafts for v3 2018-03-30 17:05:05 -07:00
aria-sdk.spec.in Add RHEL and CentOS 7 support 2018-09-06 18:07:01 -04:00
build-Win32Debug.bat Add .\Tests prefix to command line builds 2018-09-04 10:38:35 -07:00
build-Win32Release.bat Fix building unit and functional tests from command line 2018-09-04 10:24:51 -07:00
build-all.bat Enable static /MT builds in build-all.bat and VS Batch build 2018-09-05 14:03:42 -07:00
build-rhel.sh Add RHEL and CentOS 7 support 2018-09-06 18:07:01 -04:00
build-x64Debug.bat Add .\Tests prefix to command line builds 2018-09-04 10:38:35 -07:00
build-x64Release.bat Add .\Tests prefix to command line builds 2018-09-04 10:38:35 -07:00
build.properties Pushing NewCPP to a new Master Branch, check out old repo for history 2017-05-10 10:29:11 -07:00
build.sh Install rpm package after creation 2018-09-06 18:20:22 -04:00
codeflow.bat Drafts for v3 2018-03-30 17:05:05 -07:00
ivy.xml Pushing NewCPP to a new Master Branch, check out old repo for history 2017-05-10 10:29:11 -07:00
uncrustify.cfg Pushing NewCPP to a new Master Branch, check out old repo for history 2017-05-10 10:29:11 -07:00
uncrustify.ignore Added out to ignore 2017-05-10 15:37:34 -07:00

README.md

Aria C++ V2 SDK

SDK Information

Contact:

Branches:

  • Master
    - Should be used only after the dev build passed and you want your change into master
    - Pull Request is needed to push to Master, at least 1 person needs to be added for approval. Please add aria sdk team (ariaesdks@microsoft.com)
    - Any push will trigger a new build

  • Dev
    - This should be clean green but if it's red, no problem just go ahead and fix it
    - Fell free to push to dev once your feature is done. We encourage you to use build\ branch first
    - Any push will trigger a new build

  • <yourname>\<feature>
    - Create a new branch for each feature you are working on or you just want to check some changes you made
    - Any new branch or change to this branch will not trigger any build

  • build\<branch_name>
    - Create a new branch under build\ folder if you want an automatic build to be triggered online.
    - This allows you to test local changes with no need of an environment setup
    - Any push will trigger a new [build]https://msasg.visualstudio.com/Shared%20Data/Mobile%20Analytics%20-%20Mobile%20SDKs/_build/index?context=allDefinitions&path=%5CAriaSDK%5CC&definitionId=1754&_a=completed)

Best Practice:

  • User your own branch per feature. Once it can build locally, push it to dev so MSASG vso will build to all supported platforms
  • Code practices:
    - Follow the code that is written in the file you are modifying.
    - Do not refactor code that is already written unless, refactoring is the name of the game
    - Some Guildines

Supported platforms:

  • Windows

Deps:

Building

On MSASG

  • Pushing to dev will trigger all C++ dev build
  • Pushing to master will trigger only the C++ master build
  • Pushing to build\<branch_name> will trigger only the C++ features build

Locally

  • Install the Deps
  • run: AriaSDK.sln solution and build & use Google Test Adapter to run the tests
  • run: build-all.bat from command line and it will build
  • Note: On at least one instance, the location for the windows SDK headers had to be manually specified (e.g. C:\Program Files (x86)\Windows Kits\10\Include\10.x\shared) in the VC++ Include Directories

Running tests

Dependency:

  • Google Test Adapter (Just to run/debug the tests inside Visual Studio)

Run Tests:

  • Run Tests from Visual Studio or from command line. See build-win32Debug.bat for more information

Test Result:

  • You will see them in Visual Studio