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 (771B)



      1 # tasks build config
      2 # You can switch flavors using: kodev flavor [newflavor]
      3 
      4 # Set to yes if you wish to produce a single binary instead
      5 # of a dynamic library. If you set this to yes you must also
      6 # set kore_source together with kore_flavor.
      7 single_binary=yes
      8 kore_source=../../
      9 kore_flavor=TASKS=1
     10 
     11 # The cflags below are shared between flavors
     12 cflags=-Wall -Wmissing-declarations -Wshadow
     13 cflags=-Wstrict-prototypes -Wmissing-prototypes
     14 cflags=-Wpointer-arith -Wcast-qual -Wsign-compare
     15 
     16 cflags=-I/usr/local/include
     17 
     18 dev {
     19 	# These cflags are added to the shared ones when
     20 	# you build the "dev" flavor.
     21 	cflags=-g
     22 	ldflags=-L/usr/local/lib -lcurl
     23 }
     24 
     25 #prod {
     26 #	You can specify additional CFLAGS here which are only
     27 #	included if you build with the "prod" flavor.
     28 #}