Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « gtests « tests - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0dfe041974e0a90ab8fb74a06191657be715d73a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

# GTest
if(WITH_GTESTS)

  include(GTestTesting)

  add_definitions(${GFLAGS_DEFINES})
  add_definitions(${GLOG_DEFINES})
  add_definitions(-DBLENDER_GFLAGS_NAMESPACE=${GFLAGS_NAMESPACE})

  # Otherwise we get warnings here that we cant fix in external projects
  remove_strict_flags()

  add_subdirectory(testing)
  add_subdirectory(blenkernel)
  add_subdirectory(blenlib)
  add_subdirectory(blenloader)
  add_subdirectory(guardedalloc)
  add_subdirectory(bmesh)
  add_subdirectory(functions)
  if(WITH_CODEC_FFMPEG)
    add_subdirectory(ffmpeg)
  endif()
  if(WITH_ALEMBIC)
    add_subdirectory(alembic)
  endif()
  if(WITH_USD)
    add_subdirectory(usd)
  endif()
endif()