Skip to content

Build process #18

Answered by langroodi
aswindevaraj19 asked this question in Q&A
Feb 23, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

The build will be done via the CMake file. So, be sure first that you have already installed CMake (version 3.14 or higher) and one of GCC 11 or Clang 14 compiler on your Linux.

Then you need to configure the compiler. So, open the terminal and use cd to go to the repository clone directory and if you prefer to use GCC, run the following command on your terminal:

cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/x86_64-linux-gnu-gcc-11 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/x86_64-linux-gnu-g++-11 -S . -B build

and if you prefer Clang, run the following command on your terminal:

cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-14 -…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@RajeshPolamReddy
Comment options

@RajeshPolamReddy
Comment options

@langroodi
Comment options

@RajeshPolamReddy
Comment options

Answer selected by aswindevaraj19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants