mirror of https://github.com/openXC7/prjxray.git
By setting CMAKE_CXX_STANDARD, CMake will figure out the right flag to pass to the compiler being used as well as error if the compiler doesn't support that standard. The standard can also be changed on a per-target basis. Using add_compiler_options() is just a bit cleaner syntactically and will apply the flags to C and C++. Signed-off-by: Rick Altherr <kc8apf@kc8apf.net> Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com> |
||
|---|---|---|
| database/artix7 | ||
| experiments | ||
| fuzzers | ||
| gridinfo | ||
| htmlgen | ||
| lib | ||
| minitests | ||
| third_party | ||
| tools | ||
| utils | ||
| .gitignore | ||
| .gitmodules | ||
| CMakeLists.txt | ||
| README.md | ||
README.md
Project X-Ray
Documenting the Xilinx 7-series bit-stream format.
Quickstart Guide:
Pull submodules: git submodule update --init --recursive
Install CMake and build the C++ tools: sudo apt-get install cmake # version 3.5.0 or later required, # for Ubuntu Trusty pkg is called cmake3 mkdir build pushd build cmake .. make popd
Always make sure to set the environment for the device you are working on before running any other commands:
source database/artix7/settings.sh
Creating HTML documentation:
cd htmlgen
python3 htmlgen
(Re-)creating parts of the database, for example LUT init bits:
cd fuzzers/010-lutinit
make
make pushdb