Skip to content

Watch command implementation with C, CMake and GoogleTest

License

Notifications You must be signed in to change notification settings

modulus100/ITS8020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITS8020

Assignment description
Template for this project is based on this example but modified to support C and latest GoogleTest
Technologies: C/C++, CMake, GoogleTest

Tested with Clion, VS Code and Terminal on Mac.

Setup (Optional)

Linux dev setup is based on this repository
Post about Linux dev setup

Build

Go to the project root and create a folder for build files

cd ITS8020
mkdir build

Init project with cmake, it will generate all required files to build the project

cd build
cmake ..

Build the project

make

Run

cd build/bin
./watch_command_posix -n 1 echo test

alt text

Test

cd build
ctest

alt text

Clean the build

cd build
make clean

About

Watch command implementation with C, CMake and GoogleTest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published