summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2018-11-06 14:28:25 -0500
committerGitHub <noreply@github.com>2018-11-06 14:28:25 -0500
commit1185bd464092f372430cbfaa15a7be4dcaa90752 (patch)
treeb3b68f2d9de00c0845f4912a797f10b27741031f /premake5.lua
parent453331951b0df2a612f9bc0d68eab2ad786ec5bf (diff)
Feature/shared library refactor (#712)
* * Added ISlangSharedLibraryLoader and ISlangSharedLibrary * Implemented default implementations * Added slang API function to get/set the ISlangSharedLibraryLoader on the session * Put function caching onto the Session - so that if the loader is chaged, its easy to reset the shared libraries, and functions * Run premake. * Fix problem with setting null, would cause an unnecessary function/shared lib flush. * * Unload SharedLibrary when DefaultSharedLibrary is deleted. * Make SharedLibrary handle unload safely if already unloaded. * Refactor SharedLibrary, such that it becomes a utility class - simplifying it's semantics. * Simplified ISlangSharedLibrary such that doesn't have unload and isLoaded so easier to implement. Use updated SharedLibrary impl. * Disable aarch64 on windows * Premake windows files without aarch64 build. * Moved slang-shared-library to core (so can be used in code outside of main slang) Fixed problem in premake5 where on windows projects were incorrectly constructed * Allowed RefObject to base class of com types Added ConfigurableSharedLibraryLoader Added -dxc-path -fxc-path -glslang-path Fix problem with dxc-path not honoring it's path when loading dxil * Added documentation for command line control of dll loading paths. * Remove some tabbing issues. * Change name of include guard.
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/premake5.lua b/premake5.lua
index e0b76fc85..8e02d433f 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -82,8 +82,12 @@ targetName = "%{cfg.system}-%{cfg.platform:lower()}"
workspace "slang"
-- We will support debug/release configuration and x86/x64 builds.
configurations { "Debug", "Release" }
- platforms { "x86", "x64", "aarch64" }
-
+ platforms { "x86", "x64"}
+
+ if os.target() == "linux" then
+ platforms {"aarch64" }
+ end
+
if buildLocation then
location(buildLocation)
end
@@ -107,7 +111,7 @@ workspace "slang"
architecture "x64"
filter { "platforms:x86" }
architecture "x86"
- filter { "platforms:aarch64" }
+ filter { "platforms:aarch64"}
architecture "ARM"
filter { "toolset:clang or gcc*" }