Compare commits

2 Commits

Author SHA1 Message Date
f4cbd499a8 fix README.md 2020-04-27 11:19:47 +03:00
40c3da0389 test 2020-04-26 16:48:00 +03:00
2 changed files with 11 additions and 9 deletions

View File

@@ -14,14 +14,15 @@ Low-level C++ library that covers next areas:
* Metaprogramming
## CMake
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"
If not ABSOLUTE source files will be prepended by CMAKE_CURRENT_SOURCE_DIR
You should add ${<out_var>} to your target
* `pip_code_model(<out_var> file0 [file1 ...] [OPTIONS opt0 [opt1 ...] ] [ABSOLUTE])`
Generate code model files for source files file0 [file1 ...].
* 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
You should add ${<out_var>} to your target
* `pip_resources(<out_var> file)`
Generate C++ files for resource file.
You should add ${<out_var>} to your target.

View File

@@ -115,9 +115,10 @@ PIKbdListener kbd;
int main(int argc, char * argv[]) {
PIStringList dl = PISerial::availableDevices();
/*PIStringList dl = PISerial::availableDevices();
piCout << dl;
PISerial ser(dl[0]);
piCout << ser.open(PIIODevice::ReadWrite) << &ser;
*/
return 0;
}