Skip to content

Commit

Permalink
modify project files
Browse files Browse the repository at this point in the history
  • Loading branch information
CHEN Xin Liang committed Sep 10, 2018
1 parent e37fc24 commit 04537e9
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.shared-dep
*.json
*.stackdump
*.sublime-workspace

# Prerequisites
*.d
Expand Down
14 changes: 9 additions & 5 deletions MSBuildMakefile.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<Project DefaultTargets="build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask TaskName="CL" AssemblyName="CSAR" />
<UsingTask TaskName="Link" AssemblyName="CSAR" />
<PropertyGroup>
</PropertyGroup>
<ItemGroup>
<Compile Include="src/csar.cpp" />
</ItemGroup>
<Target Name="Build">
</Target>
<ItemGroup>
<Compile Include="src/csar.cpp" />
</ItemGroup>
<Target Name="Build">
<CL Sources="@(Compile)" />
<Link Sources="@(Compile -> '%(FileName).obj')" />
</Target>
</Project>
29 changes: 27 additions & 2 deletions csar.sublime-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,38 @@
"build_systems": [
{
"name": "MS Build",
"cmd": ["C:\\Program Files (x86)\\MSBuild\\14.0\\Bin\\MSBuild.exe", "MSBuildMakefile.xml"]
"cmd": ["C:\\Program Files (x86)\\MSBuild\\14.0\\Bin\\MSBuild.exe", "MSBuildMakefile.xml"],
"encoding": "gb2312"
}
],
"folders":
[
{
"path": "."
}
]
],
"settings":
{
"env_file":
{
"Windows": "%HOME%/Documents/myEnv.bat",
"Darwin": "~/Documents/myEnv.sh",
"Linux": "~/Documents/myEnv.sh"
},
"env":
{
"Windows":
{
"PATH": "%PATH%;C:\\Program Files (x86)\\MSBuild\\14.0\\Bin"
},
"Darwin":
{
"PATH": "$PATH:~/Documents/MyTool"
},
"Linux":
{
"PATH": "$PATH:~/Documents/MyTool"
}
}
}
}

0 comments on commit 04537e9

Please sign in to comment.