Changeset View
Changeset View
Standalone View
Standalone View
intern/guardedalloc/CMakeLists.txt
| Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
| if(WITH_GTESTS) | if(WITH_GTESTS) | ||||
| set(TEST_SRC | set(TEST_SRC | ||||
| tests/guardedalloc_alignment_test.cc | tests/guardedalloc_alignment_test.cc | ||||
| tests/guardedalloc_overflow_test.cc | tests/guardedalloc_overflow_test.cc | ||||
| tests/guardedalloc_test_base.h | tests/guardedalloc_test_base.h | ||||
| ) | ) | ||||
| set(TEST_INC | set(TEST_INC | ||||
| ./intern | |||||
| ../../source/blender/blenlib | ../../source/blender/blenlib | ||||
| ) | ) | ||||
| set(TEST_LIB | set(TEST_LIB | ||||
| bf_intern_guardedalloc | bf_intern_guardedalloc | ||||
| bf_blenlib | bf_blenlib | ||||
| ) | ) | ||||
| include(GTestTesting) | include(GTestTesting) | ||||
| blender_add_test_executable(guardedalloc "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}") | blender_add_test_executable(guardedalloc "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}") | ||||
| endif() | endif() | ||||