mirror of
				https://github.com/eclipse/upm.git
				synced 2025-11-04 09:05:34 +03:00 
			
		
		
		
	cxx_warnings: Misc changes to enable Werror
* CMake option to enable -Werror as default
    * Change to make sure all cxx examples have correct target name
    * Added PUBLIC CXX compiler flags to ads1x15 and ozw targets to
      work around compiler warnings
    * Renamed cmake variable for compiler warnings
Signed-off-by: Noel Eck <noel.eck@intel.com>
			
			
This commit is contained in:
		@@ -14,7 +14,7 @@ option (IPK "Generate IPK using CPack" OFF)
 | 
			
		||||
option (RPM "Generate RPM using CPack" OFF)
 | 
			
		||||
option (NPM "Generate NPM/GYP tarballs" OFF)
 | 
			
		||||
option (BUILDTESTS "Generate check-ups for upm" OFF)
 | 
			
		||||
option (WERROR "Make all warnings into errors." OFF)
 | 
			
		||||
option (WERROR "Make all warnings into errors." ON)
 | 
			
		||||
 | 
			
		||||
# Warn if building in source root
 | 
			
		||||
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user