kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

build.conf (587B)



      1 # generic build config
      2 # You can switch flavors using: kodev flavor [newflavor]
      3 
      4 # The cflags below are shared between flavors
      5 cflags=-Wall -Wmissing-declarations -Wshadow
      6 cflags=-Wstrict-prototypes -Wmissing-prototypes
      7 cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
      8 
      9 mime_add=jpg:image/jpg
     10 mime_add=css:text/css; charset=utf-8
     11 mime_add=html:text/html; charset=utf-8
     12 
     13 dev {
     14 	# These cflags are added to the shared ones when
     15 	# you build the "dev" flavor.
     16 	cflags=-g
     17 }
     18 
     19 #prod {
     20 #	You can specify additional CFLAGS here which are only
     21 #	included if you build with the "prod" flavor.
     22 #}