Build the harness as a static library (#430)

This reduces by a factor of roughly two the number of files to build.

Fixes #193.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kévin Petit
2019-08-07 17:18:10 +01:00
committed by GitHub
parent 67655e6fe5
commit fa4b278432
78 changed files with 68 additions and 625 deletions

View File

@@ -19,15 +19,6 @@ set(${MODULE_NAME}_SOURCES
unary_two_results.c
unary_two_results_i.c
unary_u.c
../../test_common/harness/rounding_mode.c
../../test_common/harness/ThreadPool.c
../../test_common/harness/mt19937.c
../../test_common/harness/msvc9.c
../../test_common/harness/parseParameters.cpp
../../test_common/harness/kernelHelpers.c
../../test_common/harness/errorHelpers.c
../../test_common/harness/testHarness.c
../../test_common/harness/crc32.c
)
@@ -50,11 +41,6 @@ set_source_files_properties(
COMPILE_FLAGS -msse2 )
endif(NOT ANDROID)
set_source_files_properties(
${MODULE_NAME}_SOURCES
../../test_common/harness/crc32.c
PROPERTIES LANGUAGE CXX)
if (NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID)
set_source_files_properties(
${MODULE_NAME}_SOURCES