Update CoreClr, CoreFx to preview2-26302-01, preview2-26228-08, respectively (#16702)
[platform/upstream/coreclr.git] / definitionsconsistencycheck.cmake
1 get_directory_property( DirDefs COMPILE_DEFINITIONS )
2
3 # Reset the definition file
4 file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/cmake.definitions "")
5 foreach( d ${DirDefs} )
6     if($ENV{VERBOSE})
7         message( STATUS "Compiler Definition: " ${d} )
8     endif($ENV{VERBOSE})
9     file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/cmake.definitions ${d})
10     file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/cmake.definitions "\n")
11 endforeach()