changeset 613:3c3e321875f7

- adding helper target to cmake
author Tassilo Philipp
date Sat, 01 Oct 2022 16:03:25 +0200
parents 086362f4ae3f
children b74d7a249642
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Thu Sep 29 13:31:30 2022 +0200
+++ b/CMakeLists.txt	Sat Oct 01 16:03:25 2022 +0200
@@ -46,6 +46,9 @@
 check_c_compiler_flag("-fPIC -Werror" COMPILER_HAS_FPIC)
 
 
+add_custom_target(show-compiler-predefs COMMAND ${CMAKE_C_COMPILER_PREDEFINES_COMMAND})
+
+
 # compile_asm(TARGET target ASM_FILES file1 [file2 ...] OUTPUT_OBJECTS [variableName])
 # CMake does not support the ARM or ARM64 assemblers on Windows when using the
 # MSBuild generator.