openframeworks / openframeworks/projectGenerator

[feature request] for addon_config.mk: escape $ using $$

Open
#144 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

this would allow for something like:

ADDON_LIBS = C:\pathtolib\$$(Platform)\libfile.lib

which would be parsed to
path: C:\pathtolib\$(Platform)\
file: libfile.lib

this would be handy for VS since it uses the $(something) pattern for macros in project properties

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.

Research direction

Start in addon_config.mk and trace how ADDON_LIBS values are parsed into paths and filenames. Verify the example with a Visual Studio-style $(Platform) macro, and consider the work complete when $$ produces a literal $ without changing ordinary path parsing.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.