Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,155
    • Issues 4,155
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • 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
  • #18183
Closed
Open
Issue created Jul 17, 2018 by Jason Heeris@detlyContributor

Request: Give FindMatlab an interface for adding MCC-built targets

Matlab provides (via an add-on) MCC, a compiler that will compile Matlab source files into binaries for a given platform. I haven't tried integrating this with CMake, but I expect adding a custom command/target calling mcc would work fine. But it would be nice to have a high-level function like matlab_add_mcc() that takes care of the same kind of configuration details done for matlab_add_mex() (especially any platform differences). Even just exporting a variable like Matlab_MCC_COMPILER would be useful for creating custom targets.

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