Update README.md

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2019-08-23 11:36:27 +08:00 committed by GitHub
parent 67e1b4fd01
commit 56a75a8c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,13 @@ CM CMake module file
## use
- create a project
- run "git submodule add https://github.com/hyzboy/CMCMakeModule" in project root directory.
- run "git submodule add https://github.com/hyzboy/CMCore"
- run "git submodule add https://github.com/hyzboy/CMPlatform"
- switch to the project root directory using the console/bash/GIT Bash
- run the following command
```
git submodule add https://github.com/hyzboy/CMCMakeModule
git submodule add https://github.com/hyzboy/CMCore
git submodule add https://github.com/hyzboy/CMPlatform
```
- add the following code to project CMakeLists.txt
```
cmake_minimum_required(VERSION 3.0)