Cmake_C_Project/README.md
2025-02-19 16:17:08 +01:00

511 B

CMake C Test Project

This project is designed to learn how to structure a C project with CMake and includes a simple library (testlib) that implements basic functions.

Build Instructions

  1. Make the project
    mkdir -p build
    cmake .. --fresh
    
  2. Run the project
    make
    ./(the binary name)
    
    

Method two

  1. Run the script install
    ./install.sh | ./build/(the binary name)
    
    

To clean the project

  1. Run thee script clean
    ./clean.sh