Skip to content

Commit a814196

Browse files
committed
[Build] Build binaries into lib folder.
1 parent 4f4638f commit a814196

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

NetLeaf.Bridge/NetLeaf.Bridge.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Platforms>x64</Platforms>
8-
<OutputPath>..\build\bin</OutputPath>
8+
<OutputPath>..\build\lib</OutputPath>
99
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1010
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
1111
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>

NetLeaf/lib/nethost.dll

103 KB
Binary file not shown.

premake5.lua

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ project "NetLeaf"
88
kind "SharedLib"
99
language "C++"
1010
location "NetLeaf"
11-
targetdir ("%{wks.location}/build/bin")
11+
targetdir ("%{wks.location}/build/lib")
1212
objdir ("%{wks.location}/obj/%{prj.name}")
1313

1414
files {
@@ -38,7 +38,7 @@ project "NetLeaf"
3838
"{COPY} %{prj.location}/include/*.h %{wks.location}/build/include/",
3939

4040
-- Copy .NET dlls
41-
"{COPY} %{prj.location}/bin/*.dll %{wks.location}/build/bin/"
41+
"{COPY} %{prj.location}/lib/*.dll %{wks.location}/build/lib/"
4242
}
4343

4444
filter "system:linux"
@@ -83,10 +83,6 @@ project "CPPTests"
8383
"NetLeaf/include"
8484
}
8585

86-
libdirs {
87-
"%{wks.location}/build/bin/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
88-
}
89-
9086
links {
9187
"NetLeaf",
9288
"NetLeaf.Bridge",
@@ -99,9 +95,9 @@ project "CPPTests"
9995

10096
postbuildcommands {
10197
-- Copy DLLs from NetLeaf
102-
"{COPY} %{wks.location}/build/bin/*.dll %{cfg.targetdir}",
98+
"{COPY} %{wks.location}/build/lib/*.dll %{cfg.targetdir}",
10399
-- Copy C# Jsons from NetLeaf
104-
"{COPY} %{wks.location}/build/bin/*.json %{cfg.targetdir}"
100+
"{COPY} %{wks.location}/build/lib/*.json %{cfg.targetdir}"
105101
}
106102

107103
filter "system:linux"

0 commit comments

Comments
 (0)