Practice environment for the CryptoPals challenges.
Thanks to shxy0 for setting up an example project for CMake+ImGui+SDL2.
- Having git bash, cygwin, WSL or something to run
wget
,git
andbash
is required. - Run
./install-dependencies-win.sh
A proper Visual Studio may still be needed for compiling OpenSSL
- Extensions:
- C/C++
- CMake
- CMake Tools
- Initial setup:
- Open the project folder in VS Code
- Hit
Ctrl+Shift+P
and run "CMake: Configure
" - If asked to select a kit, pick the compiler you want to use
- Hit
Ctrl+F5
and select the target
- Open the directory as a local folder in VS2022
- Wait for
CMake generation finished.
message in theOutput
tab - From the top bar, using the arrow next to
Select Startup Item
pickminicrypto.exe
- Hit
Ctrl+F5
- Install SDL2 development libraries
- Run
./install-dependencies-linux.sh
to populate3rdparty/imgui
and3rdparty/imnodes
- Basic CMake process
mkdir build && cd build && cmake .. && make
- You can run the tests with
make test
- For more verbose output you can run
./tests/tests -s
- For more verbose output you can run