portal_user/conf/build.conf

43 lines
1.2 KiB
Plaintext
Raw Normal View History

2022-02-17 06:39:22 +01:00
# sqlite3 build config
# You can switch flavors using: kodev flavor [newflavor]
# Set to yes if you wish to produce a single binary instead
# of a dynamic library. If you set this to yes you must also
# set kore_source together with kore_flavor.
2023-04-09 23:17:01 +02:00
#single_binary=yes
2022-02-17 06:39:22 +01:00
#kore_source=/home/joris/src/kore
#kore_flavor=
# The flags below are shared between flavors
2023-04-09 23:17:01 +02:00
cflags=-Wall -Wmissing-declarations -Wshadow -I/usr/local/include
2022-02-17 06:39:22 +01:00
cflags=-Wstrict-prototypes -Wmissing-prototypes
cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
ldflags=-lsqlite3
#a rejouter pour linux
#ldflag=-lcrypt
ldflags=-L/usr/local/lib
2023-04-09 23:17:01 +02:00
cxxflags=-Wall -Wmissing-declarations -Wshadow
2022-02-17 06:39:22 +01:00
cxxflags=-Wpointer-arith -Wcast-qual -Wsign-compare
# Mime types for assets served via the builtin asset_serve_*
2023-04-09 23:17:01 +02:00
mime_add=jpg:image/jpeg
mime_add=css:text/css; charset=utf-8
mime_add=txt:text/plain; charset=utf-8
mime_add=png:image/png
mime_add=html:text/html; charset=utf-8
2022-02-17 06:39:22 +01:00
dev {
# These flags are added to the shared ones when
# you build the "dev" flavor.
2023-04-09 23:17:01 +02:00
cflags=-g
cxxflags=-g
2022-02-17 06:39:22 +01:00
}
2023-04-09 23:17:01 +02:00
prod {
2022-02-17 06:39:22 +01:00
# You can specify additional flags here which are only
# included if you build with the "prod" flavor.
2023-04-09 23:17:01 +02:00
cflags=-g
cxxflags=-g
}