You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
328 B
19 lines
328 B
3 years ago
|
# A project using templates.
|
||
|
|
||
|
[project]
|
||
|
name = "templates"
|
||
|
description = "Template example"
|
||
|
|
||
|
[template.app]
|
||
|
type = "executable"
|
||
|
sources = ["src/templates.cpp"]
|
||
|
compile-definitions = ["IS_APP=true"]
|
||
|
|
||
|
[target.app-a]
|
||
|
template = "app"
|
||
|
compile-definitions = ["APP_A"]
|
||
|
|
||
|
[target.app-b]
|
||
|
template = "app"
|
||
|
compile-definitions = ["APP_B"]
|