将 config.h 转移到 include 目录下
config.h 调试时经常需要修改,为了避免误将修改加入暂存区, 故新建 include 目录将此文件移到此目录下,后续 git add 时 在 src 目录下操作就不用的担心误操作。
This commit is contained in:
parent
3480637c00
commit
0e73a894a8
|
@ -16,6 +16,7 @@ CONFIG += C++11 \
|
|||
warn_off
|
||||
|
||||
INCLUDEPATH += src
|
||||
INCLUDEPATH += include
|
||||
|
||||
SOURCES += \
|
||||
src/client.cpp \
|
||||
|
@ -32,13 +33,13 @@ SOURCES += \
|
|||
src/server.cpp
|
||||
|
||||
HEADERS += \
|
||||
include/config.h \
|
||||
src/HashNode.h \
|
||||
src/MemoryPool.h \
|
||||
src/MemoryPool.tcc \
|
||||
src/StackAlloc.h \
|
||||
src/boarditem.h \
|
||||
src/client.h \
|
||||
src/config.h \
|
||||
src/gamecontroller.h \
|
||||
src/gamescene.h \
|
||||
src/gameview.h \
|
||||
|
|
|
@ -104,6 +104,12 @@
|
|||
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</IgnoreImportLibrary>
|
||||
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</IgnoreImportLibrary>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<IncludePath>$(ProjectDir)\include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<IncludePath>$(ProjectDir)\include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>.\GeneratedFiles\$(ConfigurationName);.\GeneratedFiles;.;$(QTDIR)\include;release;\include;$(QTDIR)\mkspecs\win32-msvc;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtMultimedia;$(QTDIR)\include\QtNetwork;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
|
@ -387,6 +393,7 @@
|
|||
<ClCompile Include="src\server.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="include\config.h" />
|
||||
<ClInclude Include="resource.h" />
|
||||
<QtMoc Include="src\aithread.h">
|
||||
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\GeneratedFiles\$(ConfigurationName)\.;.\GeneratedFiles;.;$(QTDIR)\include;.\debug;\include;$(QTDIR)\mkspecs\win32-msvc;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtMultimedia;$(QTDIR)\include\QtNetwork</IncludePath>
|
||||
|
@ -432,7 +439,6 @@
|
|||
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\GeneratedFiles\$(ConfigurationName);.\GeneratedFiles;.;$(QTDIR)\include;.\release;\include;$(QTDIR)\mkspecs\win32-msvc;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtMultimedia;$(QTDIR)\include\QtNetwork</IncludePath>
|
||||
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles\$(ConfigurationName);.\GeneratedFiles;.;$(QTDIR)\include;.\release;\include;$(QTDIR)\mkspecs\win32-msvc;$(QTDIR)\include\QtWidgets;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtMultimedia;$(QTDIR)\include\QtNetwork</IncludePath>
|
||||
</QtMoc>
|
||||
<ClInclude Include="src\config.h" />
|
||||
<ClInclude Include="src\graphicsconst.h" />
|
||||
<ClInclude Include="src\HashMap.h" />
|
||||
<ClInclude Include="src\HashNode.h" />
|
||||
|
|
|
@ -113,9 +113,6 @@
|
|||
<ClInclude Include="src\ninechessai_ab.h">
|
||||
<Filter>Model</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\config.h">
|
||||
<Filter>Control</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\HashNode.h">
|
||||
<Filter>Model</Filter>
|
||||
</ClInclude>
|
||||
|
@ -131,6 +128,9 @@
|
|||
<ClInclude Include="src\StackAlloc.h">
|
||||
<Filter>Model</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\config.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="debug\moc_predefs.h.cbt">
|
||||
|
|
Loading…
Reference in New Issue