Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CMake install with namespace and add corresponding alias targets

Open Beginner friendly
#886 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c, cmake
Domain
build-system

Research direction

Start by locating the CMake configuration that defines the mimalloc export and the mimalloc-obj and mimalloc-static targets. Check the installed export and submodule build targets after applying the requested namespace and aliases; done means both target naming forms are available consistently.

Written by the indexing model from the issue text.

Description

Add namespace to installed export

install(EXPORT mimalloc DESTINATION ${mi_install_cmakedir} NAMESPACE mimalloc::)

Add alias targets to provide consistent targets for submodule builds.

add_library(mimalloc::mimalloc-obj ALIAS mimalloc-obj)
add_library(mimalloc::mimalloc-static ALIAS mimalloc-static)

Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/mimalloc

All issues in microsoft/mimalloc

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.