Ability to filter imports by cmake defines
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- cmake, python, yaml
- Ambito
- build-system
Direzione di ricerca
The imports handling lives in the fips Python sources, where fips.yml is parsed and .fips-imports.cmake is generated; the issue shows the desired if: key in the yaml. Start by finding where the import section is emitted and wrap it in a CMake if() when that key is present. Done means an import with an if: expression is fetched but only integrated into the build when the expression is true; the issue has ten comments and no linked pull request, so check the thread for the agreed design first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
There are projects which only need to import external dependencies for their sample executables, but not when importing the project somewhere else. For this, and similar requirements, it should be possible to control the inclusion of an imported project in the fips.yml file:
imports:
git: https://tralala/blub/blob.git
if: "NOT FIPS_IMPORT AND FIPS_WINDOWS"
The string behind the if: is the expression of a cmake if() statement. If an if: key exists, the import section in the generated .fips-imports.cmake file will be surrounded with an if() (the dependency will always be fetched to the local filesystem, it will only not be integrated into the build project depending on the if expression...
- Lingua principale
- Python
- Stelle
- 506
- Fork
- 84
- Merge medio
- 13h 14m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di floooh/fips
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
-
Install and CPack ?Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 18/100
-
cmake.py/run_build() adds Visual Studio args for Android buildsForse di nuovo libera @floooh l’ha presa 2504 giorni fa e non c’è nessuna pull request aperta. Aperta
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
bug harness
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mruangutai/harness#2687 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
modal-labs/modal-client#4158 ·
-
kind/bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kubeflow/sdk#998 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno