mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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>
17 lines
297 B
CMake
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)
|
|
|