mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	trying more variations on the flags
This commit is contained in:
		@@ -68,6 +68,9 @@ if(UNIX)
 | 
			
		||||
	endif()
 | 
			
		||||
 | 
			
		||||
	set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2 -fPIC")
 | 
			
		||||
elseif(MSVC)
 | 
			
		||||
	# Skip warning for invalid conversion from size_t to uint32_t for all targets below for now
 | 
			
		||||
	add_compile_options("/wd4267" "/utf-8")
 | 
			
		||||
elseif(WIN32)
 | 
			
		||||
	add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
 | 
			
		||||
endif()
 | 
			
		||||
 
 | 
			
		||||
@@ -34,9 +34,9 @@
 | 
			
		||||
        "architecture": {
 | 
			
		||||
          "value": "x64"
 | 
			
		||||
        },
 | 
			
		||||
        "cacheVariables": {
 | 
			
		||||
          "COMPILE_OPTIONS": "/permissive-;/Zc:inline;/wd4267;/utf-8",
 | 
			
		||||
          "CMAKE_BUILD_TYPE": "RelWithDebInfo"
 | 
			
		||||
        "cacheVariables": { 
 | 
			
		||||
          "CMAKE_BUILD_TYPE": "RelWithDebInfo",
 | 
			
		||||
          "COMPILE_OPTIONS": "/permissive-;/Zc:inline"
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user