Browse Source

Added build steps that copy Editor Styles on build. So I don't need to maintain separate files for separate configurations.

Marko Pintera 13 năm trước cách đây
mục cha
commit
02613f39a3
2 tập tin đã thay đổi với 14 bổ sung3 xóa
  1. 12 0
      CamelotEditor/CamelotEditor.vcxproj
  2. 2 3
      TODOEditor.txt

+ 12 - 0
CamelotEditor/CamelotEditor.vcxproj

@@ -90,6 +90,9 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>
       <AdditionalDependencies>Qt5Cored.lib;Qt5Guid.lib;Qt5Widgetsd.lib;CamelotCore.lib;CamelotUtility.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
+    <PreBuildEvent>
+      <Command>xcopy "$(SolutionDir)\..\Data\Editor" "$(ProjectDir)$(OutDir)" /i /y /e</Command>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
     <ClCompile>
@@ -107,6 +110,9 @@
       <GenerateDebugInformation>true</GenerateDebugInformation>
       <AdditionalDependencies>Qt5Cored.lib;Qt5Guid.lib;Qt5Widgetsd.lib;CamelotCore.lib;CamelotUtility.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
+    <PreBuildEvent>
+      <Command>xcopy "$(SolutionDir)\..\Data\Editor" "$(ProjectDir)$(OutDir)" /i /y /e</Command>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     <ClCompile>
@@ -123,6 +129,9 @@
       <GenerateDebugInformation>false</GenerateDebugInformation>
       <AdditionalDependencies>Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib;CamelotCore.lib;CamelotUtility.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
+    <PreBuildEvent>
+      <Command>xcopy "$(SolutionDir)\..\Data\Editor" "$(ProjectDir)$(OutDir)" /i /y /e</Command>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
     <ClCompile>
@@ -140,6 +149,9 @@
       <GenerateDebugInformation>false</GenerateDebugInformation>
       <AdditionalDependencies>Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib;CamelotCore.lib;CamelotUtility.lib;%(AdditionalDependencies)</AdditionalDependencies>
     </Link>
+    <PreBuildEvent>
+      <Command>xcopy "$(SolutionDir)\..\Data\Editor" "$(ProjectDir)$(OutDir)" /i /y /e</Command>
+    </PreBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>
     <ClCompile Include="GeneratedFiles\moc_CmQtDockOverlayWidget.cpp" />

+ 2 - 3
TODOEditor.txt

@@ -29,7 +29,6 @@ TODO for next few days:
 
 
 Dock overlay widget colors need to be customizable
-QtEditorWindow style needs to be customizable
 
-I want to rethink how the docking system works, and window management in general
- - those systems should be interconnected somehow
+
+I need to save EditorWindow layout. Especially dock information. Figure out how to save that.