mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
@@ -25,15 +25,6 @@ set(D3D11_SOURCES
|
||||
misc.cpp
|
||||
main.cpp
|
||||
harness.cpp
|
||||
../../test_common/harness/errorHelpers.c
|
||||
../../test_common/harness/threadTesting.c
|
||||
../../test_common/harness/testHarness.c
|
||||
../../test_common/harness/kernelHelpers.c
|
||||
../../test_common/harness/mt19937.c
|
||||
../../test_common/harness/conversions.c
|
||||
../../test_common/harness/msvc9.c
|
||||
../../test_common/harness/parseParameters.cpp
|
||||
../../test_common/harness/crc32.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_d3d11
|
||||
@@ -43,7 +34,7 @@ set_source_files_properties(
|
||||
${D3D11_SOURCES}
|
||||
PROPERTIES LANGUAGE CXX)
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_d3d11
|
||||
TARGET_LINK_LIBRARIES(conformance_test_d3d11 harness
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
endif(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user