aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-30 22:34:18 +0800
committercrupest <crupest@outlook.com>2019-04-30 22:34:18 +0800
commitabdbce87692615716f9fb0c04e74c5247c4080b2 (patch)
tree4cd546c9c37b484936a5df193bae1d8cb0024024
parent5aac4ce0c2414956db979f077a5f6727473479aa (diff)
downloadcru-abdbce87692615716f9fb0c04e74c5247c4080b2.tar.gz
cru-abdbce87692615716f9fb0c04e74c5247c4080b2.tar.bz2
cru-abdbce87692615716f9fb0c04e74c5247c4080b2.zip
...
-rw-r--r--README.md5
-rw-r--r--azure-pipelines.yml10
-rw-r--r--tools/win_build.py (renamed from tools/build.py)0
3 files changed, 4 insertions, 11 deletions
diff --git a/README.md b/README.md
index 69844d18..9ffd8497 100644
--- a/README.md
+++ b/README.md
@@ -20,11 +20,12 @@ Use python3 to run `tool/build.py`. Run with `-h` to see the options.
- `tools/` contains some codes of tools like code generators.
- - `tools/cppmerge` contains a *python* script program that merges all cpp headers and sources into one **single** header and source. **Not use now**.
+ - `tools/cppmerge` contains a *python* script program that merges all cpp headers and sources into one **single** header and source. **Not use now**.
- - `tools/build.py` is a python3 script to build the source code.
+ - `tools/build.py` is a python3 script to build the source code.
- `snippets/` contains useful snippets file for *Visual Studio*, you can import it.
## project structure
+
![project structure](art/project_structure.png)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d4824188..b5e9f490 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -21,15 +21,7 @@ jobs:
buildConfiguration: 'Release'
steps:
- - checkout: self
- submodules: true
-
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '2.7'
- addToPath: true
-
- - script: py -3 tools\build.py -a $(buildPlatform) -c $(buildConfiguration)
+ - script: py -3 tools\win_build.py -a $(buildPlatform) -c $(buildConfiguration)
- task: CopyFiles@2
inputs:
diff --git a/tools/build.py b/tools/win_build.py
index 30d0425d..30d0425d 100644
--- a/tools/build.py
+++ b/tools/win_build.py