diff --git a/README.md b/README.md index 3a322ff..07c2090 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,16 @@ CM CMake module file ## use - - create root project + - 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" - add the following code to project CMakeLists.txt ``` + cmake_minimum_required(VERSION 3.0) + + project(SampleProject) + set_property(GLOBAL PROPERTY USE_FOLDERS ON) set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/CMCMakeModule)