[IOT-1816] Windows: Fix build breaks
authorDan Mihai <Daniel.Mihai@microsoft.com>
Tue, 14 Feb 2017 01:00:50 +0000 (17:00 -0800)
committerKevin Kane <kkane@microsoft.com>
Tue, 14 Feb 2017 17:31:17 +0000 (17:31 +0000)
commita400e4fe6174f726658a437065dd2b1d933e5d41
treebf14aee8e6ba2f4565ac3ce1cf467d31c09e49f0
parente9f0daec49f77c23b4ea3c435f6be0be519c0421
[IOT-1816] Windows: Fix build breaks

1. Most likely the ocrandom compiler error was hiding the RD linker
   errors.

2. Support both RD Client and Server functionality with
   octbstack.dll

3. Avoid building sqlite3.obj with several different compiler options,
   by building it a single time and packaging it in sqlite3.lib

Change-Id: I8b9fe95f97d88a28a8b6bb48fd9932f51a65ecdb
Signed-off-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17253
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
12 files changed:
extlibs/sqlite3/SConscript
resource/c_common/ocrandom/src/ocrandom.c
resource/csdk/resource-directory/SConscript
resource/csdk/security/provisioning/SConscript
resource/csdk/security/provisioning/sample/SConscript
resource/csdk/security/provisioning/unittest/SConscript
resource/csdk/security/tool/SConscript
resource/csdk/security/unittest/SConscript
resource/csdk/stack/SConscript
resource/csdk/stack/test/SConscript
resource/unittests/SConscript
run.bat