1DS C++ SDK
Перейти к файлу
Matt Koscumb 71ff57b10e Fix one more case of unnecessary unique_ptr<std::vector<StorageRecord>> 2018-11-12 09:57:40 -08:00
OneSdkSampleApp
Sample
Solutions Build infra clean-up (no code changes): remove all legacy vs2013 targets from .vcxproj . We don't support vs2013, these were left-overs from copy-paste from v1 source code base. 2018-11-07 14:02:54 -08:00
bondlite
docs ARIA C++ SDK v3.0.289 2018-10-16 16:08:49 -07:00
examples Add event sender customer sample that would use local .\lib and .\include SDK for 3P portal downloads page 2018-11-07 14:05:05 -08:00
googletest
lib Rather than return a raw pointer std::vector<StorageRecord>, thus inducing memory managment on the caller and breaking the raw-pointers-are-non-owning rule, IOfflineStorgage::GetRecords should just return the vector. std::vector<T> is cheap to move, and thus can easily be returned from a function on any modern compiler without inducing a massive copy cost. 2018-11-09 16:25:02 -08:00
linktest
sqlite Merged PR 812851: Integrate winsqlite3 source code distribution vetted thru OSS and OS security 2018-10-24 23:29:21 +00:00
sqliteUWP
tests Fix one more case of unnecessary unique_ptr<std::vector<StorageRecord>> 2018-11-12 09:57:40 -08:00
tools Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
uap-cpp
wrappers/go
zlib Build infra clean-up (no code changes): remove all legacy vs2013 targets from .vcxproj . We don't support vs2013, these were left-overs from copy-paste from v1 source code base. 2018-11-07 14:02:54 -08:00
.gitattributes
.gitignore Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
CMakeLists.txt Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
README.md
RunOACR.bat
aria-sdk.spec.in
build-Win32Debug.bat
build-Win32Release.bat
build-all.bat
build-clang.sh Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
build-cmake-clang.cmd Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
build-rhel.sh
build-x64Debug.bat
build-x64Release.bat
build.properties
build.sh Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
codeflow.bat
install.sh Merged PR 817004: Mac OS X clang compiler support 2018-11-07 06:39:27 +00:00
ivy.xml
test-all.cmd Merged PR 799323: Stats improvements, tests + fixes for recent OTEL issues discovered in dogfood 2018-10-16 05:01:28 +00:00
uncrustify.cfg
uncrustify.ignore

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