외부 프로젝트 의존 테스트
This commit is contained in:
33
Sources/GodotProject.sln
Normal file
33
Sources/GodotProject.sln
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.13.35825.156 d17.13
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GodotProject", "GodotProject\GodotProject.csproj", "{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleLib", "SampleLib\SampleLib.csproj", "{BB1C699E-A92B-C5D4-04F5-2A09EF631836}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
ExportDebug|Any CPU = ExportDebug|Any CPU
|
||||||
|
ExportRelease|Any CPU = ExportRelease|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
||||||
|
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
||||||
|
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
||||||
|
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
||||||
|
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportDebug|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportDebug|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportRelease|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportRelease|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
9
Sources/GodotProject/GodotProject.csproj
Normal file
9
Sources/GodotProject/GodotProject.csproj
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<Project Sdk="Godot.NET.Sdk/4.4.0">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SampleLib\SampleLib.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
13
Sources/GodotProject/LabelTest.cs
Normal file
13
Sources/GodotProject/LabelTest.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using Godot;
|
||||||
|
|
||||||
|
public partial class LabelTest : Label
|
||||||
|
{
|
||||||
|
|
||||||
|
public override void _Input(InputEvent @event)
|
||||||
|
{
|
||||||
|
if (@event is InputEventKey eventKey && eventKey.Pressed && eventKey.Keycode == Key.Space)
|
||||||
|
{
|
||||||
|
Text = SampleLib.SampleClass.SuperSampleString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
1
Sources/GodotProject/LabelTest.cs.uid
Normal file
1
Sources/GodotProject/LabelTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://dxsuvw2yajgyl
|
||||||
6
Sources/GodotProject/Scripts/SampleScript0.cs
Normal file
6
Sources/GodotProject/Scripts/SampleScript0.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
public partial class SampleScript0 : Node
|
||||||
|
{
|
||||||
|
}
|
||||||
1
Sources/GodotProject/Scripts/SampleScript0.cs.uid
Normal file
1
Sources/GodotProject/Scripts/SampleScript0.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://etelr8xonim3
|
||||||
6
Sources/GodotProject/Scripts/SampleScript1.cs
Normal file
6
Sources/GodotProject/Scripts/SampleScript1.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
public partial class SampleScript1 : Node
|
||||||
|
{
|
||||||
|
}
|
||||||
1
Sources/GodotProject/Scripts/SampleScript1.cs.uid
Normal file
1
Sources/GodotProject/Scripts/SampleScript1.cs.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://byg6x4ry4vic
|
||||||
69
Sources/GodotProject/export_presets.cfg
Normal file
69
Sources/GodotProject/export_presets.cfg
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
[preset.0]
|
||||||
|
|
||||||
|
name="Windows Desktop"
|
||||||
|
platform="Windows Desktop"
|
||||||
|
runnable=true
|
||||||
|
advanced_options=true
|
||||||
|
dedicated_server=false
|
||||||
|
custom_features=""
|
||||||
|
export_filter="all_resources"
|
||||||
|
include_filter=""
|
||||||
|
exclude_filter=""
|
||||||
|
export_path="../../Export/Export.exe"
|
||||||
|
patches=PackedStringArray()
|
||||||
|
encryption_include_filters=""
|
||||||
|
encryption_exclude_filters=""
|
||||||
|
seed=0
|
||||||
|
encrypt_pck=false
|
||||||
|
encrypt_directory=false
|
||||||
|
script_export_mode=2
|
||||||
|
|
||||||
|
[preset.0.options]
|
||||||
|
|
||||||
|
custom_template/debug=""
|
||||||
|
custom_template/release=""
|
||||||
|
debug/export_console_wrapper=1
|
||||||
|
binary_format/embed_pck=true
|
||||||
|
texture_format/s3tc_bptc=true
|
||||||
|
texture_format/etc2_astc=false
|
||||||
|
binary_format/architecture="x86_64"
|
||||||
|
codesign/enable=false
|
||||||
|
codesign/timestamp=true
|
||||||
|
codesign/timestamp_server_url=""
|
||||||
|
codesign/digest_algorithm=1
|
||||||
|
codesign/description=""
|
||||||
|
codesign/custom_options=PackedStringArray()
|
||||||
|
application/modify_resources=true
|
||||||
|
application/icon=""
|
||||||
|
application/console_wrapper_icon=""
|
||||||
|
application/icon_interpolation=4
|
||||||
|
application/file_version=""
|
||||||
|
application/product_version=""
|
||||||
|
application/company_name=""
|
||||||
|
application/product_name=""
|
||||||
|
application/file_description=""
|
||||||
|
application/copyright=""
|
||||||
|
application/trademarks=""
|
||||||
|
application/export_angle=0
|
||||||
|
application/export_d3d12=0
|
||||||
|
application/d3d12_agility_sdk_multiarch=true
|
||||||
|
ssh_remote_deploy/enabled=false
|
||||||
|
ssh_remote_deploy/host="user@host_ip"
|
||||||
|
ssh_remote_deploy/port="22"
|
||||||
|
ssh_remote_deploy/extra_args_ssh=""
|
||||||
|
ssh_remote_deploy/extra_args_scp=""
|
||||||
|
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
|
||||||
|
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
|
||||||
|
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
|
||||||
|
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries
|
||||||
|
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
|
||||||
|
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
|
||||||
|
Start-ScheduledTask -TaskName godot_remote_debug
|
||||||
|
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
|
||||||
|
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
|
||||||
|
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
|
||||||
|
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
|
||||||
|
Remove-Item -Recurse -Force '{temp_dir}'"
|
||||||
|
dotnet/include_scripts_content=false
|
||||||
|
dotnet/include_debug_symbols=true
|
||||||
|
dotnet/embed_build_outputs=true
|
||||||
@@ -11,9 +11,11 @@ config_version=5
|
|||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="GodotProject"
|
config/name="GodotProject"
|
||||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
run/main_scene="uid://drarxdqog4j2u"
|
||||||
|
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
[dotnet]
|
[dotnet]
|
||||||
|
|
||||||
project/assembly_name="GodotProject"
|
project/assembly_name="GodotProject"
|
||||||
|
project/solution_directory="../"
|
||||||
|
|||||||
19
Sources/GodotProject/ui.tscn
Normal file
19
Sources/GodotProject/ui.tscn
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
[gd_scene load_steps=2 format=3 uid="uid://drarxdqog4j2u"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://dxsuvw2yajgyl" path="res://LabelTest.cs" id="1_fyqef"]
|
||||||
|
|
||||||
|
[node name="Control" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = -1
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
text = "가나라마바사"
|
||||||
|
script = ExtResource("1_fyqef")
|
||||||
6
Sources/SampleLib/Class1.cs
Normal file
6
Sources/SampleLib/Class1.cs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
namespace SampleLib;
|
||||||
|
|
||||||
|
public class Class1
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
15
Sources/SampleLib/SampleClass.cs
Normal file
15
Sources/SampleLib/SampleClass.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
namespace SampleLib
|
||||||
|
{
|
||||||
|
public static class SampleClass
|
||||||
|
{
|
||||||
|
public static string GetSampleString()
|
||||||
|
{
|
||||||
|
return "Sample" + "String";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string SuperSampleString()
|
||||||
|
{
|
||||||
|
return "Super" + GetSampleString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
Sources/SampleLib/SampleLib.csproj
Normal file
9
Sources/SampleLib/SampleLib.csproj
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
Reference in New Issue
Block a user