File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11if (NOT WIN32 )
22 string (ASCII 27 Esc)
3- set (ColourReset "${Esc} [m " )
3+ set (ColourReset "${Esc} [0m " )
44 set (ColourBold "${Esc} [1m" )
55 set (Red "${Esc} [31m" )
66 set (Green "${Esc} [32m" )
Original file line number Diff line number Diff line change 3131cmake_minimum_required (VERSION 3.16 )
3232project (documentation_tests)
3333
34- string ( ASCII 27 Esc )
34+ include ( " ${CMAKE_CURRENT_SOURCE_DIR} /../../cmake/colour.cmake" )
3535
3636set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDPP_CORO -std=c++20 -pthread -O0 -fPIC -rdynamic -DFMT_HEADER_ONLY -Wall -Wextra -Wpedantic -Werror -Wno-unused-parameter -Wno-deprecated-declarations" )
3737set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0" )
3838
3939file (GLOB example_list ./*.cpp )
4040foreach (example ${example_list} )
4141 get_filename_component (examplename ${example} NAME )
42- message (STATUS "Found example '${Esc} [1;34m ${examplename}${Esc} [m '" )
42+ message (STATUS "Found example '${BoldBlue} ${examplename}${ColourReset} '" )
4343 add_executable (${examplename} _out ${example} )
4444 target_link_libraries (${examplename} _out dl dpp mpg123 oggz ogg opusfile opus )
4545 include_directories (/usr/include/opus )
You can’t perform that action at this time.
0 commit comments