Skip to content

Latest commit

 

History

History
60 lines (52 loc) · 2.42 KB

README.md

File metadata and controls

60 lines (52 loc) · 2.42 KB

WebFramework

Getting Started Build

Start by cloning the repository

git clone https://github.com/LazyPanda07/WebFramework.git --recursive

Build requirements

  • CMake >= 3.27.0
  • Compiler with C++20 support(MSVC, GCC, Clang)

Windows

  • Windows >= 10

Linux

  • uuid-dev

Windows

Build

  1. Visual Studio
  • Create build directory
  • Run command from build directory
cmake -DCMAKE_INSTALL_PREFIX=../WebFrameworkLibrary ..
  • Open build\WebFramework.sln
  • Select Release configuration
  • In Solution Explorer build INSTALL project(expand CMakePredefinedTargets)
  • WebFramework will be installed in WebFrameworkLibrary directory in project directory
  1. NMake
  • Create build directory
  • Run command from build directory
cmake -DCMAKE_INSTALL_PREFIX=../WebFrameworkLibrary -G "NMake Makefiles" .. && nmake install

NMake doesn't support multithreaded builds

  • WebFramework will be installed in WebFrameworkLibrary directory in project directory

Samples

Samples available for Windows and Linux in C/C++, C# .NET 8.0, Python

Linux

Build

  • Create build directory
  • Run command from build directory
cmake -DCMAKE_INSTALL_PREFIX=../WebFrameworkLibrary .. && make install -j $(nproc)
  • WebFramework will be installed in WebFrameworkLibrary directory in project directory

Getting Started Application

Simple example of web application with WebFramework

WebFramework reference

Reference link