cmake source_group examples

Signatures

source_group(<name> [FILES <src>...] [REGULAR_EXPRESSION <regex>])
  source_group(TREE <root> [PREFIX <prefix>] [FILES <src>...])

Examples

timi-liuliang/echo thirdparty/glslang/glslang/CMakeLists.txt :100

source_group("Public" REGULAR_EXPRESSION "Public/*")

Hork-Engine/Hork-Source ThirdParty/glslang/glslang/CMakeLists.txt :224

source_group("MachineIndependent\\Preprocessor" REGULAR_EXPRESSION "MachineIndependent/preprocessor/*")

RavEngine/RavEngine deps/RGL/deps/DirectXTex/CMakeLists.txt :448

source_group(texdiag REGULAR_EXPRESSION Texdiag/*.*)

ZDoom/gzdoom libraries/ZMusic/source/CMakeLists.txt :219

source_group("Music Formats\\Win32" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/musicformats/win32/.+")

Kitware/kwiver CMake/utils/kwiver-utils-python.cmake :44

source_group("Python Files"  REGULAR_EXPRESSION ".*\\.py\\.in$")

rheit/zdoom src/CMakeLists.txt :1241

source_group("Audio Files\\Timidity\\Headers" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/timidity/.+\\.h$")

facebook/folly CMake/FollyFunctions.cmake :139

source_group("${fileGroup}" REGULAR_EXPRESSION "${filePath}/[^/.]+.(cpp|h)$")

GPUOpen-Archive/Anvil deps/glslang/glslang/CMakeLists.txt :103

source_group("GenericCodeGen" REGULAR_EXPRESSION "GenericCodeGen/*")

root-project/root interpreter/llvm-project/llvm/lib/ObjCopy/CMakeLists.txt :1

source_group("Header Files" REGULAR_EXPRESSION
  .*[.]h
)

google/filament third_party/glslang/glslang/CMakeLists.txt :237

source_group("OSDependent\\Windows" REGULAR_EXPRESSION "OSDependent/Windows/*")

mysql/mysql-server libmysql/authentication_win/CMakeLists.txt :47

SOURCE_GROUP(Headers REGULAR_EXPRESSION ".*h$")

datastax/cpp-driver src/third_party/curl/CMakeLists.txt :3

source_group("Source Files\\" REGULAR_EXPRESSION ".*\\.c(pp)?")

cjcliffe/CubicSDR CMakeLists.txt :618

SOURCE_GROUP("Forms\\SDRDevices" REGULAR_EXPRESSION "src/forms/SDRDevices/${REG_EXT}")

madronalabs/madronalib CMakeLists.txt :208

source_group(dsp REGULAR_EXPRESSION "DSP/.*")

qt/qtbase src/corelib/Qt6CoreMacros.cmake :3609

source_group("Source Files/Generated" REGULAR_EXPRESSION "(_metatypes\\.json)$")

Farama-Foundation/ViZDoom src/vizdoom/src/CMakeLists.txt :1067

source_group("Games\\Doom Game" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/g_doom/.+")

mandarine3ds/mandarine CMakeLists.txt :352

source_group("Other Files" REGULAR_EXPRESSION ".")

rbfx/rbfx Source/ThirdParty/glslang/glslang/CMakeLists.txt :216

source_group("Include" REGULAR_EXPRESSION "Include/[^/]*")

wxWidgets/wxWidgets build/cmake/source_groups.cmake :14

source_group("Common Headers" REGULAR_EXPRESSION "/include/wx/.*\\.h")

cvet/fonline ThirdParty/glslang/glslang/CMakeLists.txt :242

source_group("MachineIndependent\\Preprocessor" REGULAR_EXPRESSION "MachineIndependent/preprocessor/*")

Gecode/gecode contribs/quacode/CMakeLists.txt :172

SOURCE_GROUP("Hpp Files" REGULAR_EXPRESSION ".hpp")

PCSX2/pcsx2 pcsx2/CMakeLists.txt :1432

source_group(System/Ps2/SPU2 REGULAR_EXPRESSION SPU2/*)

dpjudas/SurrealEngine CMakeLists.txt :566

source_group("SurrealEngine" REGULAR_EXPRESSION "${CMAKE_CURRENT_SOURCE_DIR}/SurrealEngine/.+")

mogemimi/pomdog cmake/pomdog/application.cmake :2

source_group(application/cocoa  REGULAR_EXPRESSION "pomdog/application/cocoa/*")

FrictionalGames/AmnesiaAMachineForPigs HPL2/core/CMakeLists.txt :189

source_group("TinyXML" REGULAR_EXPRESSION "\\/impl\\/tiny.+")

arrayfire/forge src/backend/CMakeLists.txt :81

source_group(include
    REGULAR_EXPRESSION ${Forge_SOURCE_DIR}/include/*)

GreatSQL/GreatSQL libmysql/authentication_win/CMakeLists.txt :46

SOURCE_GROUP(Headers REGULAR_EXPRESSION ".*h$")

arrayfire/arrayfire src/backend/cpu/CMakeLists.txt :363

source_group(api\\c   REGULAR_EXPRESSION ${ArrayFire_SOURCE_DIR}/src/api/c/*)

ufz/ogs Applications/DataExplorer/DataExplorer.cmake :9

source_group("Moc Files" REGULAR_EXPRESSION "moc_.*")

LunarG/LunarGLASS Backends/GLSL/CMakeLists.txt :16

source_group("Source" REGULAR_EXPRESSION "[^/]*")

Tinob/Ishiiruka Externals/glslang/glslang/CMakeLists.txt :85

source_group("Include" REGULAR_EXPRESSION "Include/[^/]*")

cginternals/globjects cmake/Custom.cmake :27

source_group("${GROUP}\\${FILEPATH}" REGULAR_EXPRESSION "${REGEX}" FILES ${FILENAME})

Ravbug/UnityHubNative wxWidgets/build/cmake/source_groups.cmake :19

source_group("Generic Sources" REGULAR_EXPRESSION "/src/generic/.*")

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/gzdoom/libraries/webp/CMakeLists.txt :189

source_group("src\\mux" REGULAR_EXPRESSION "${CMAKE_CURRENT_SOURCE_DIR}/src/mux/.+")

Lewuathe/mlir-hello thirdparty/llvm-project/llvm/lib/ObjCopy/CMakeLists.txt :4

source_group("Header Files\\COFF" REGULAR_EXPRESSION
  COFF/.*[.]h
)

qt/qtwebkit Source/cmake/WebKitMacros.cmake :258

source_group("DerivedSources" REGULAR_EXPRESSION "${DERIVED_SOURCES_WEBCORE_DIR}")

percona/percona-server libmysql/authentication_win/CMakeLists.txt :47

SOURCE_GROUP(Headers REGULAR_EXPRESSION ".*h$")

Waterdish/Shipwright-Android soh/CMakeLists.txt :199

source_group("src\\code" REGULAR_EXPRESSION "src/code/*")

delta3d/delta3d utilities/DirectorPlugins/DPDialogEditor/CMakeLists.txt :41

SOURCE_GROUP("Generated Files" REGULAR_EXPRESSION qrc_.*cxx|moc_.*cxx)

umuthopeyildirim/DOOM-Mistral src/vizdoom/src/CMakeLists.txt :1058

source_group("Audio Files\\OPL Synth" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/oplsynth/.+")

google/mysql-protobuf libmysql/authentication_win/CMakeLists.txt :33

SOURCE_GROUP(Headers REGULAR_EXPRESSION ".*h$")