Yzena
/
Yc
2
1
Fork 0
C Utils for Yzena https://docs.yzena.com/
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.
 
 
 
 
 
 

127 lines
3.2 KiB

/**
* ***** BEGIN LICENSE BLOCK *****
*
* Copyright 2017-2022 Yzena Tech
*
* Licensed under the Yzena Viral User License, Version 0.1 (the "Yzena Viral
* User License" or "YVUL"), the GNU Affero General Public License (the "GNU
* AGPL"), Version 3.0, and the Server Side Public License (the "SSPL"),
* Version 1. You may not use this file except in compliance with all of those
* licenses.
*
* You may obtain a copy of the Yzena Viral User License at
*
* https://yzena.com/yzena-viral-user-license/
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the Yzena Viral User License is distributed under the
* following disclaimer:
*
* As far as the law allows, this software comes as is, without any
* warranty or condition, and no contributor will be liable to anyone for
* any damages related to this software or this license, under any kind of
* legal claim.
*
* You may obtain a copy of the GNU Affero General Public License at
*
* https://www.gnu.org/licenses/agpl-3.0.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the GNU Affero General Public License is distributed under
* the following disclaimer:
*
* This software is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
* General Public License for more details.
*
* You may obtain a copy of the Server Side Public License at
*
* https://www.mongodb.com/licensing/server-side-public-license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the Server Side Public License is distributed under the
* following disclaimer:
*
* This software is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Server
* Side Public License for more details.
*
* ****** END LICENSE BLOCK ******
*
* *****************************************************************
*
* ******* BEGIN FILE DESCRIPTION *******
*
* Main build script config file.
*
* ******** END FILE DESCRIPTION ********
*/
project: #com.yzena.yc
version: {
min: #0.0.0
}
mode: {
language: #declarative
stampers: #modified
dependencies: #static
}
options: {
build_samples: {
type: #bool
default: true
desc: "Builds the samples."
}
sanitizer: {
type: #enum
items: [
#none
#address
#memory
#undefined
#thread
]
default: #none
}
cc: {
type: #path
default: "clang"
desc: "The C compiler."
}
cflags: {
type: #string
default: ""
desc: "The command-line flags for the C compiler."
}
cflags.debug: {
type: #bool
default: true
desc: "Whether to add debug flags to the cflags."
}
cflags.optimization: {
type: #string
default: "0"
desc: "The optimization level for the C compiler."
}
}
presets: {
debug: {
cflags.debug: true
cflags.optimization: "0"
}
release: {
cflags.debug: false
cflags.optimization: "3"
}
}
default_development: #debug
default_release: #release
deftarget: "libyc.a"