"Fossies" - the Fresh Open Source Software Archive

Member "sphinx-2.2.11-release/cmake/c_flag_overrides.cmake" (19 Jul 2016, 388 Bytes) of package /linux/www/sphinx-2.2.11-release.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "c_flag_overrides.cmake": 2.2.10-release_vs_2.2.11-release.

    1 # it defines default compiler flags (specifically /MT instead of default /MD) for windows builds
    2     if(MSVC)
    3         set(CMAKE_C_FLAGS_DEBUG_INIT "/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1")
    4         set(CMAKE_C_FLAGS_MINSIZEREL_INIT     "/MT /O1 /Ob1 /D NDEBUG")
    5         set(CMAKE_C_FLAGS_RELEASE_INIT        "/MT /O2 /Ob2 /D NDEBUG")
    7     endif(MSVC)