<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h
-python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h
+ <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h
+python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h
-python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h
+ <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h
+python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h
-python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h
+ <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h
+python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<PreBuildEvent>
- <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h
-python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h
+ <Command>python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h
+python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>