Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Adding compiler definitions for platforms (#839)
Browse files Browse the repository at this point in the history
* Adding compiler definitions for platforms

* updated submodules

* updated gltf submodule

* added more assembly info

Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
  • Loading branch information
SimonDarksideJ and StephenHodgson authored May 16, 2021
1 parent 1df6888 commit 5b7377b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Editor/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

#define XRTK_EDITOR

using System.Reflection;

[assembly: AssemblyTitle("com.xrtk.core.editor")]
[assembly: AssemblyCompany("XRTK")]
[assembly: AssemblyCopyright("Copyright (c) XRTK. All rights reserved.")]
11 changes: 11 additions & 0 deletions Editor/AssemblyInfo.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions Runtime/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
// Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

#define XRTK

using System.Reflection;
using System.Runtime.CompilerServices;

// Note: these are the names of the assembly definitions themselves, not necessarily the actual namespace the class is in.
[assembly: AssemblyTitle("com.xrtk.core")]
[assembly: AssemblyCompany("XRTK")]
[assembly: AssemblyCopyright("Copyright (c) XRTK. All rights reserved.")]

// Note: these are the names of the assembly definitions themselves, not necessarily the actual namespace the class is in.
[assembly: InternalsVisibleTo("XRTK.Editor")]
[assembly: InternalsVisibleTo("XRTK.Tests")]
[assembly: InternalsVisibleTo("XRTK.Utilities.Gltf.Importers")]
[assembly: InternalsVisibleTo("XRTK.WindowsMixedReality")]
[assembly: InternalsVisibleTo("XRTK.WindowsMixedReality.Player")]
[assembly: InternalsVisibleTo("XRTK.Oculus")]
Expand Down

0 comments on commit 5b7377b

Please sign in to comment.