I have created small project for using catch2 testing framework. I set the specific command line option called --use-colour to yes in terminal like below:
root@ramil-instance:~/testing/build# ./testing --use-colour yes
How can I define this command line option in CMakeLists.txt file instead of terminal
This is my CMakeLists.txt file:
cmake_minimum_required(VERSION 3.0)
set(CMAKE_BUILD_TYPE Debug)
project(testing)
add_executable(
testing
test.cpp
)