mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Remove build systems other than CMake
Make it clear that CMake is the only supported build system. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
project
|
||||
: requirements
|
||||
# <toolset>gcc:<cflags>-xc++
|
||||
# <toolset>msvc:<cflags>"/TP"
|
||||
;
|
||||
|
||||
exe test_gl
|
||||
: helpers.cpp
|
||||
main.cpp
|
||||
test_buffers.cpp
|
||||
test_images_2D.cpp
|
||||
test_images_2D_info.cpp
|
||||
test_images_3D.cpp
|
||||
test_images_3D_info.cpp
|
||||
test_renderbuffer.cpp
|
||||
test_renderbuffer_info.cpp
|
||||
: <target-os>darwin:<source>setup_osx.cpp
|
||||
<target-os>linux:<source>setup_x11.cpp
|
||||
<target-os>windows:<source>setup_win32.cpp
|
||||
<library>../..//glut
|
||||
<library>../..//glew
|
||||
;
|
||||
|
||||
install dist
|
||||
: test_gl
|
||||
: <variant>debug:<location>$(DIST)/debug/tests/test_conformance/gl
|
||||
<variant>release:<location>$(DIST)/release/tests/test_conformance/gl
|
||||
;
|
||||
@@ -1,62 +0,0 @@
|
||||
ifdef BUILD_WITH_ATF
|
||||
ATF = -framework ATF
|
||||
USE_ATF = -DUSE_ATF
|
||||
endif
|
||||
|
||||
SRCS = main.cpp \
|
||||
helpers.cpp \
|
||||
test_buffers.cpp \
|
||||
test_fence_sync.cpp \
|
||||
test_images_1D.cpp \
|
||||
test_images_1Darray.cpp \
|
||||
test_images_2Darray.cpp \
|
||||
test_images_2D.cpp \
|
||||
test_images_3D.cpp \
|
||||
test_images_getinfo_common.cpp \
|
||||
test_images_read_common.cpp \
|
||||
test_images_write_common.cpp \
|
||||
test_renderbuffer.cpp \
|
||||
test_renderbuffer_info.cpp \
|
||||
test_images_depth.cpp \
|
||||
test_images_multisample.cpp \
|
||||
test_image_methods.cpp \
|
||||
../../test_common/gl/helpers.cpp \
|
||||
../../test_common/gl/setup_osx.cpp \
|
||||
../../test_common/harness/conversions.c \
|
||||
../../test_common/harness/errorHelpers.c \
|
||||
../../test_common/harness/genericThread.cpp \
|
||||
../../test_common/harness/imageHelpers.c \
|
||||
../../test_common/harness/kernelHelpers.c \
|
||||
../../test_common/harness/mt19937.c \
|
||||
../../test_common/harness/testHarness.c \
|
||||
../../test_common/harness/threadTesting.c
|
||||
|
||||
DEFINES =
|
||||
|
||||
SOURCES = $(abspath $(SRCS))
|
||||
LIBPATH += -L/System/Library/Frameworks/OpenCL.framework/Libraries
|
||||
LIBPATH += -L.
|
||||
FRAMEWORK = $(SOURCES)
|
||||
HEADERS =
|
||||
TARGET = test_gl
|
||||
INCLUDE =
|
||||
COMPILERFLAGS = -c -Wall -g -Wshorten-64-to-32
|
||||
CC = c++
|
||||
CFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE)
|
||||
CXXFLAGS = $(COMPILERFLAGS) ${RC_CFLAGS} ${USE_ATF} $(DEFINES:%=-D%) $(INCLUDE)
|
||||
LIBRARIES = -framework OpenCL -framework OpenGL -framework GLUT -framework AppKit ${ATF}
|
||||
|
||||
OBJECTS := ${SOURCES:.c=.o}
|
||||
OBJECTS := ${OBJECTS:.cpp=.o}
|
||||
|
||||
TARGETOBJECT =
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
$(CC) $(RC_CFLAGS) $(OBJECTS) -o $@ $(LIBPATH) $(LIBRARIES)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGET) $(OBJECTS)
|
||||
|
||||
.DEFAULT:
|
||||
@echo The target \"$@\" does not exist in Makefile.
|
||||
Reference in New Issue
Block a user