fix README.md

This commit is contained in:
2020-04-27 11:19:47 +03:00
parent 40c3da0389
commit f4cbd499a8

View File

@@ -14,14 +14,15 @@ Low-level C++ library that covers next areas:
* Metaprogramming * Metaprogramming
## CMake ## CMake
This library tightly integrated with CMake by providing some macro: This library tightly integrated with CMake by providing some macro:
* pip_code_model(<out_var> file0 [file1 ...] [OPTIONS opt0 [opt1 ...] ] [ABSOLUTE])
Generate code model files for source files file0 [file1 ...]
Options you can see by exec "pip_cmg -h" * `pip_code_model(<out_var> file0 [file1 ...] [OPTIONS opt0 [opt1 ...] ] [ABSOLUTE])`
If not ABSOLUTE source files will be prepended by CMAKE_CURRENT_SOURCE_DIR Generate code model files for source files file0 [file1 ...].
You should add ${<out_var>} to your target
* pip_resources(<out_var> file) Options you can see by exec "pip_cmg -h".
If not ABSOLUTE source files will be prepended by ${CMAKE_CURRENT_SOURCE_DIR}.
You should add ${<out_var>} to your target.
Generate C++ files for resource file * `pip_resources(<out_var> file)`
You should add ${<out_var>} to your target
Generate C++ files for resource file.
You should add ${<out_var>} to your target.