File: cmake_object_lib_support.c

package info (click to toggle)
srt 1.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,744 kB
  • sloc: cpp: 52,175; ansic: 5,746; tcl: 1,183; sh: 318; python: 99; makefile: 38
file content (9 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
// DO NOT DELETE
// This file is needed for Xcode to properly handle CMake OBJECT Libraries
// From docs (https://cmake.org/cmake/help/latest/command/add_library.html#object-libraries):
//
// ... Some native build systems (such as Xcode) may not like targets that have only object files,
// so consider adding at least one real source file to any target that references $<TARGET_OBJECTS:objlib>.

// Just a dummy symbol to avoid compiler warnings
int srt_object_lib_dummy = 0;