Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,100
    • Issues 4,100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #18703
Closed
Open
Issue created Dec 12, 2018 by Brad King@brad.kingOwner

enable_language: combine try_compile for working compiler and ABI detection

Cc: @craig.scott @marc.chevrier

CMakeTest*Compiler.cmake and CMakeDetermineCompilerABI.cmake each do a try_compile to test and then introspect the compiler. #18700 (closed) demonstrates how much each initialization check can affect small projects (and CMake's test suite). I suspect it is possible to combine the roles of CMakeTest*Compiler.cmake and CMakeDetermineCompilerABI.cmake into a single try_compile call.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking