build: rename cmake-format settings files

This commit is contained in:
Gabriel Ferreira
2023-06-14 15:29:49 -03:00
parent 2e240ac40d
commit 7473b7f428
4 changed files with 6 additions and 5 deletions

View File

@@ -92,8 +92,8 @@ option(NS3_WARNINGS_AS_ERRORS
set(NS3_ENABLED_MODULES ""
CACHE STRING "List of modules to enable (e.g. core;network;internet)"
)
set(NS3_DISABLED_MODULES ""
CACHE STRING "List of modules to disable (e.g. lte;wimax)"
set(NS3_DISABLED_MODULES "" CACHE STRING
"List of modules to disable (e.g. lte;wimax)"
)
# Filter in the modules from which examples and tests will be built

View File

@@ -75,7 +75,8 @@ if(WIN32)
CACHE BOOL "Precompile module headers to speed up compilation" FORCE
)
# For whatever reason getting M_PI and other math.h definitions from cmath requires this definition
# For whatever reason getting M_PI and other math.h definitions from cmath
# requires this definition
# https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=vs-2019
add_definitions(/D_USE_MATH_DEFINES)
endif()
@@ -589,11 +590,11 @@ macro(process_options)
cmake-format
COMMAND
${CMAKE_FORMAT_PROGRAM} -c
${PROJECT_SOURCE_DIR}/build-support/cmake-format.txt -i
${PROJECT_SOURCE_DIR}/build-support/cmake-format.yaml -i
${INTERNAL_CMAKE_FILES}
COMMAND
${CMAKE_FORMAT_PROGRAM} -c
${PROJECT_SOURCE_DIR}/build-support/cmake-format-modules.txt -i
${PROJECT_SOURCE_DIR}/build-support/cmake-format-modules.yaml -i
${MODULES_CMAKE_FILES}
)
unset(MODULES_CMAKE_FILES)