Skip to content

Commit

Permalink
update for visual studio macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jared2020 committed Dec 5, 2024
1 parent 6c95628 commit eba679c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions examples/TaoQuickShow/Src/AppInfo.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#include "AppInfo.h"
#include "Ver-u8.h"

#ifdef USE_VISUAL_STUDIO
#include "taoVersionInfo.h"
#endif

#include <QQmlContext>
#include <QSysInfo>
AppInfo::AppInfo(QObject* parent)
Expand Down
4 changes: 2 additions & 2 deletions examples/TaoQuickShow/TaoQuickShow.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<LanguageStandard>Default</LanguageStandard>
<PreprocessorDefinitions>TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";USE_VISUAL_STUDIO;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<LanguageStandard>Default</LanguageStandard>
<PreprocessorDefinitions>TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";USE_VISUAL_STUDIO;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
Expand Down

0 comments on commit eba679c

Please sign in to comment.