Cleanup: add missing headers to CMake, formatting

This commit is contained in:
Campbell Barton
2020-09-15 22:50:11 +10:00
parent 7177a580cc
commit dd25d47e8a
8 changed files with 13 additions and 6 deletions

View File

@@ -172,6 +172,8 @@ set(SRC
engines/eevee/eevee_lut.h
engines/eevee/eevee_private.h
engines/external/external_engine.h
engines/image/image_engine.h
engines/image/image_private.h
engines/workbench/workbench_engine.h
engines/workbench/workbench_private.h
engines/select/select_engine.h

View File

@@ -51,6 +51,7 @@ set(SRC
../include/ED_curve.h
../include/ED_datafiles.h
../include/ED_fileselect.h
../include/ED_geometry.h
../include/ED_gizmo_library.h
../include/ED_gizmo_utils.h
../include/ED_gpencil.h

View File

@@ -68,7 +68,7 @@ if(WITH_GTESTS)
tests/FN_multi_function_test.cc
tests/FN_spans_test.cc
)
set (TEST_LIB
set(TEST_LIB
bf_functions
)
include(GTestTesting)

View File

@@ -116,6 +116,7 @@ set(SRC
GPU_debug.h
GPU_drawlist.h
GPU_framebuffer.h
GPU_glew.h
GPU_immediate.h
GPU_immediate_util.h
GPU_index_buffer.h
@@ -139,6 +140,7 @@ set(SRC
intern/gpu_capabilities_private.hh
intern/gpu_codegen.h
intern/gpu_context_private.hh
intern/gpu_debug_private.hh
intern/gpu_drawlist_private.hh
intern/gpu_framebuffer_private.hh
intern/gpu_immediate_private.hh
@@ -384,6 +386,8 @@ if(WITH_GTESTS)
if(WITH_OPENGL_DRAW_TESTS)
set(TEST_SRC
tests/gpu_testing.cc
tests/gpu_testing.hh
)
set(TEST_INC
"../../../intern/ghost/"

View File

@@ -1156,7 +1156,7 @@ if(WIN32)
set_target_properties(blender PROPERTIES
PDB_NAME "blender_private"
PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>")
if (WITH_WINDOWS_PDB AND WITH_WINDOWS_STRIPPED_PDB)
if(WITH_WINDOWS_PDB AND WITH_WINDOWS_STRIPPED_PDB)
# This is slightly messy, but single target generators like ninja will not have the
# CMAKE_CFG_INTDIR variable and multitarget generators like msbuild will not have
# CMAKE_BUILD_TYPE. This can be simplified by target_link_options and the $<CONFIG>