renames
This commit is contained in:
parent
bd6694a20b
commit
11cd9bfc1a
12
README.md
12
README.md
@ -4,7 +4,7 @@ A CMake plugin composer.
|
|||||||
|
|
||||||
## Bootstrapping a new project
|
## Bootstrapping a new project
|
||||||
|
|
||||||
Bootstrap a CFrame infrastructure out of "nothing":
|
Bootstrap a Autocmake infrastructure out of "nothing":
|
||||||
|
|
||||||
mkdir cmake # does not have to be called "cmake" - take the name you prefer
|
mkdir cmake # does not have to be called "cmake" - take the name you prefer
|
||||||
cd cmake
|
cd cmake
|
||||||
@ -15,7 +15,7 @@ This downloads and creates the following files:
|
|||||||
|
|
||||||
cmake/
|
cmake/
|
||||||
├── bootstrap.py # no need to edit
|
├── bootstrap.py # no need to edit
|
||||||
├── cframe.cfg # edit this file
|
├── autocmake.cfg # edit this file
|
||||||
└── lib/
|
└── lib/
|
||||||
├── config.py # no need to edit
|
├── config.py # no need to edit
|
||||||
└── docopt.py # no need to edit
|
└── docopt.py # no need to edit
|
||||||
@ -25,17 +25,17 @@ the newly created files.
|
|||||||
|
|
||||||
## Creating the CMake infrastructure
|
## Creating the CMake infrastructure
|
||||||
|
|
||||||
Then edit ``cframe.cfg`` and run the ``bootstrap.py`` script which
|
Then edit ``autocmake.cfg`` and run the ``bootstrap.py`` script which
|
||||||
creates ``CMakeLists.txt`` and ``setup.py`` in the path specified (here ".."):
|
creates ``CMakeLists.txt`` and ``setup.py`` in the path specified (here ".."):
|
||||||
|
|
||||||
python bootstrap.py ..
|
python bootstrap.py ..
|
||||||
|
|
||||||
The script also copies or downloads CMake modules specified in ``cframe.cfg`` to a directory
|
The script also copies or downloads CMake modules specified in ``autocmake.cfg`` to a directory
|
||||||
called ``modules/``:
|
called ``modules/``:
|
||||||
|
|
||||||
cmake/
|
cmake/
|
||||||
├── bootstrap.py
|
├── bootstrap.py
|
||||||
├── cframe.cfg
|
├── autocmake.cfg
|
||||||
└── lib/
|
└── lib/
|
||||||
├── config.py
|
├── config.py
|
||||||
└── docopt.py
|
└── docopt.py
|
||||||
@ -57,4 +57,4 @@ not very convenient as the customizations may be overwritten by the
|
|||||||
|
|
||||||
A better solution is to download the CMake modules that you wish you customize
|
A better solution is to download the CMake modules that you wish you customize
|
||||||
to a separate directory and source the customized CMake modules in
|
to a separate directory and source the customized CMake modules in
|
||||||
``cframe.cfg``.
|
``autocmake.cfg``.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Copyright (c) 2015 by Radovan Bast and Jonas Juselius
|
# Copyright (c) 2015 by Radovan Bast and Jonas Juselius
|
||||||
# see https://github.com/scisoft/cframe/blob/master/LICENSE
|
# see https://github.com/scisoft/autocmake/blob/master/LICENSE
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
# Copyright (c) 2015 by Radovan Bast and Jonas Juselius
|
# Copyright (c) 2015 by Radovan Bast and Jonas Juselius
|
||||||
# see https://github.com/scisoft/cframe/blob/master/LICENSE
|
# see https://github.com/scisoft/autocmake/blob/master/LICENSE
|
||||||
|
|
||||||
# CMake variables used:
|
# CMake variables used:
|
||||||
# - MATH_LIB_SEARCH_ORDER, example: set(MATH_LIB_SEARCH_ORDER MKL ESSL ATLAS ACML SYSTEM_NATIVE)
|
# - MATH_LIB_SEARCH_ORDER, example: set(MATH_LIB_SEARCH_ORDER MKL ESSL ATLAS ACML SYSTEM_NATIVE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user