Skip to content

programming101dev/lib_c

Repository files navigation

lib_c Repository Guide

Welcome to the lib c repository. This guide will help you set up and run the provided scripts.

Table of Contents

  1. Cloning the Repository
  2. Prerequisites
  3. Running the generate-cmakelists.sh Script
  4. Running the change-compiler.sh Script
  5. Running the build.sh Script
  6. Running the install.sh Script

Cloning the Repository

Clone the repository using the following command:

git clone https://github.com/programming101dev/lib_c.git

Navigate to the cloned directory:

cd lib_c

Ensure the scripts are executable:

chmod +x *.sh

Prerequisites

  • to ensure you have all of the required tools installed, run:
./check-env.sh

If you are missing tools follow these instructions.

You will need to install:

Running the generate-cmakelists.sh Script

You will need to create the CMakeLists.txt file:

./generate-cmakelists.sh

Running the change-compiler.sh Script

Tell CMake which compiler you want to use:

./change-compiler.sh -c <compiler>

To the see the list of possible compilers:

cat supported_c_compilers.txt

Running the build.sh Script

To build the library run:

./build.sh

Running the install.sh Script

To install the library run:

./install.sh

You may need to run it via sudo, or give the user account access to the install directories.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •