fixed for new libusefull_macros

This commit is contained in:
2025-11-05 15:52:34 +03:00
parent 20624adcae
commit b77cf95e87
4 changed files with 36 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ message("VERSION: ${VERSION}")
# list of options
option(DEBUG "Compile in debug mode" OFF)
option(EXAMPLES "Compile also all examples" ON)
#option(EXAMPLES "Compile also all examples" ON)
# default flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Wextra -std=gnu99")
@@ -68,6 +68,6 @@ include(GNUInstallDirs)
install(TARGETS ${PROJ} DESTINATION "bin")
# EXAMPLES
if(EXAMPLES)
add_subdirectory(examples)
endif()
#if(EXAMPLES)
# add_subdirectory(examples)
#endif()