This commit is contained in:
2020-04-25 20:05:06 +03:00
parent eccf1d2c7b
commit c758a07891

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# Platform-Independent Primitives library
## Introduction
Low-level C++ library that covers next areas:
* Strings
* Console IO
* Threads
* Timers
* Events
* Various IO devices
* Mathematics (FFT with libfftw3)
* Cryptography (libsodium)
* Compression (zlib)
* Resources
* 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_resources(<out_var> file)
Generate C++ files for resource file
You should add ${<out_var>} to your target