X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure;h=8cc0b0d183071963c2c32602c3d19421f49f83fd;hp=bea16f44f4ce2eb12e3ce0b0482f262bb05aac23;hb=1d4aa0d34b0410c7bc60a24bad7abb55eacc850a;hpb=151f60a78d5e45c8d46c3e793fdefee306c6dc4c diff --git a/configure b/configure index bea16f4..8cc0b0d 100755 --- a/configure +++ b/configure @@ -58,7 +58,7 @@ Program options: --enable-clock_gettime use a very accurate timing function --enable-debug compile in assertion checks and other debug helps --enable-double-precision use larger floating-point numbers - --enable-hotloading watch assets and automatically reload them + --enable-hotload automatically reload modified game assets --enable-threads use threads for concurrency where appropriate --with-gtk use the gtk2 toolkit (overrides --with-qt4) @@ -466,19 +466,18 @@ else config.NDEBUG = true end -config.USE_CLOCK_GETTIME = get_feature("clock_gettime") -config.USE_DOUBLE_PRECISION = get_feature("double-precision") -config.USE_HOTLOADING = get_feature("hotloading") -config.USE_THREADS = get_feature("threads") -config.PROFILING_ENABLED = get_feature("profile") and add_cflag("-pg") - -if get_package("gtk") then - -- TODO +config.ENABLE_CLOCK_GETTIME = get_feature("clock_gettime") +config.ENABLE_DOUBLE_PRECISION = get_feature("double-precision") +config.ENABLE_HOTLOADING = get_feature("hotload") +config.ENABLE_THREADS = get_feature("threads") +if get_feature("profile") then + config.ENABLE_PROFILING = true + add_cflag("-pg") + LDFLAGS = LDFLAGS .. "-pg" end -if get_package("qt4") then - -- TODO -end +if get_package("gtk") then config.WITH_GTK = true end +if get_package("qt4") then config.WITH_QT4 = true end --