Files
@ r24654:66b379079421
Branch filter:
Location: cpp/openttd-patchpack/source/cmake/FindEditbin.cmake - annotation
r24654:66b379079421
893 B
text/x-cmake
Change: darken the background of all graph to increase contrast (#8557)
Now lines like Mauve, Dark Green and Purple are much more visible
without hurting the other colours.
Now lines like Mauve, Dark Green and Purple are much more visible
without hurting the other colours.
r24244:556df3f1e087 r24244:556df3f1e087 r24349:3fa910f6f5ee r24349:3fa910f6f5ee r24342:30be07a68865 r24342:30be07a68865 r24349:3fa910f6f5ee r24342:30be07a68865 r24342:30be07a68865 r24342:30be07a68865 r24349:3fa910f6f5ee r24349:3fa910f6f5ee r24342:30be07a68865 r24342:30be07a68865 r24244:556df3f1e087 r24244:556df3f1e087 r24342:30be07a68865 r24244:556df3f1e087 r24244:556df3f1e087 r24349:3fa910f6f5ee r24342:30be07a68865 r24349:3fa910f6f5ee r24342:30be07a68865 r24349:3fa910f6f5ee r24342:30be07a68865 r24244:556df3f1e087 r24244:556df3f1e087 r24244:556df3f1e087 r24244:556df3f1e087 r24244:556df3f1e087 | # Autodetect editbin. Only useful for MSVC.
if(NOT EDITBIN_DIRECTORY)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
get_filename_component(MSVC_COMPILE_DIRECTORY ${CMAKE_CXX_COMPILER} DIRECTORY)
set(EDITBIN_DIRECTORY ${MSVC_COMPILE_DIRECTORY})
else()
# For clang-cl build
# find editbin.exe from environmental variable VCToolsInstallDir
set(EDITBIN_DIRECTORY "$ENV{VCToolsInstallDir}/bin/Hostx64/x64")
endif()
endif()
message(CHECK_START "Finding editbin.exe")
find_program(
EDITBIN_EXECUTABLE editbin.exe
HINTS ${EDITBIN_DIRECTORY}
)
if(EDITBIN_EXECUTABLE)
message(CHECK_PASS "found")
else()
message(CHECK_FAIL "not found , please manually specify EDITBIN_DIRECTORY")
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Editbin
FOUND_VAR EDITBIN_FOUND
REQUIRED_VARS EDITBIN_EXECUTABLE
)
|