File diff r24725:8576c2d2478b → r24726:eaf6e855b503
cmake/CompileFlags.cmake
Show inline comments
 
@@ -24,15 +24,12 @@ macro(compile_flags)
 
        add_compile_options(/Zc:rvalueCast)
 

	
 
        if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 
            # Enable multi-threaded compilation.
 
            add_compile_options(/MP)
 
        endif()
 

	
 
        # Add DPI manifest to project; other WIN32 targets get this via ottdres.rc
 
        list(APPEND GENERATED_SOURCE_FILES "${CMAKE_SOURCE_DIR}/os/windows/openttd.manifest")
 
    endif()
 

	
 
    # Add some -D flags for Debug builds. We cannot use add_definitions(), because
 
    # it does not appear to support the $<> tags.
 
    add_compile_options(
 
        "$<$<CONFIG:Debug>:-D_DEBUG>"