Check-in [8b9755f077]
Overview
Comment:Updated to allow user to specify some compilation flags as a part of KitCreator build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8b9755f0770a33fa4294bd4bff5e9b4df37f2054
User & Date: rkeene on 2014-10-28 19:39:42
Other Links: manifest | tags
Context
2014-10-28
19:43
Replaced stringify with a simpler "sed" script check-in: 5989d7a323 user: rkeene tags: trunk
19:39
Updated to allow user to specify some compilation flags as a part of KitCreator build check-in: 8b9755f077 user: rkeene tags: trunk
2014-10-27
05:32
Renamed KitCreator build script to be more explicit about its purpose (requires newest KitCreator) check-in: 8b252fe5e4 user: rkeene tags: trunk
Changes

Modified kitcreator-build.sh from [f09c85c9f1] to [008b72b8bc].

     8      8   
     9      9   # Compile using the same options as Tcl
    10     10   TCLCONFIGSH="${KITCREATORROOT}/tcl/inst/lib/tclConfig.sh"
    11     11   
    12     12   . "${TCLCONFIGSH}"
    13     13   
    14     14   echo "${TCL_CC} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} -o tuapi.o -c tuapi.c"
    15         -eval ${TCL_CC} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} -o tuapi.o -c tuapi.c
           15  +eval ${TCL_CC} ${KC_TUAPI_CPPFLAGS} ${KC_TUAPI_CFLAGS} ${TCL_DEFS} ${TCL_INCLUDE_SPEC} ${KC_TUAPI_LDFLAGS} -o tuapi.o -c tuapi.c
    16     16   ar rcu libtuapi.a tuapi.o
    17     17   ranlib libtuapi.a
    18     18   
    19     19   echo 'package ifneeded tuapi '"${tuapi_version}"' [list load {} tuapi]' > pkgIndex.tcl
    20     20   
    21     21   mkdir -p inst/lib/tuapi-${tuapi_version}
    22     22   mkdir -p out/lib/tuapi-${tuapi_version}
    23     23   cp libtuapi.a inst/lib/tuapi-${tuapi_version}
    24     24   cp pkgIndex.tcl out/lib/tuapi-${tuapi_version}