Files
OpenCL-CTS/test_conformance/geometrics/CMakeLists.txt
Kévin Petit fa4b278432 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>
2019-08-07 17:18:10 +01:00

17 lines
297 B
CMake

set(MODULE_NAME GEOMETRICS)
set(${MODULE_NAME}_SOURCES
main.c
test_geometrics_double.cpp
test_geometrics.cpp
)
# VS2005 optimization WAR for geom_length)
if(MSVC)
set(CMAKE_C_FLAGS_RELEASE "/Od /Ob0")
set(CMAKE_CXX_FLAGS_RELEASE "/Od /Ob0")
endif(MSVC)
include(../CMakeCommon.txt)