.gitignore
author Simon McVittie <smcv@debian.org>
Mon, 12 Sep 2022 10:40:53 -0400
branch1.0.0
changeset 15859 7b1d6dfa3173
parent 15348 e390ef1c7a5c
child 15904 33798b649d9c
permissions -rw-r--r--
Remove FindSDL2 find-module, use sdl2-config.cmake instead This requires SDL >= 2.0.4. Since <https://bugzilla.libsdl.org/show_bug.cgi?id=2464> was fixed in SDL 2.0.4, SDL behaves as a CMake "config-file package", even if it was not itself built using CMake: it installs a sdl2-config.cmake file to ${libdir}/cmake/SDL2, which tells CMake where to find SDL's headers and library, analogous to a pkg-config .pc file. As a result, we no longer need to copy/paste a "find-module package" to be able to find a system copy of SDL >= 2.0.4 with find_package(SDL2). Find-module packages are now discouraged by the CMake developers, in favour of having upstream projects behave as config-file packages. This results in a small API change: FindSDL2 used to set SDL2_INCLUDE_DIR and SDL2_LIBRARY, but the standard behaviour for config-file packages is to set <name>_INCLUDE_DIRS and <name>_LIBRARIES. Use the CONFIG keyword to make sure we search in config-file package mode, and will not find a FindSDL2.cmake in some other directory that implements the old interface. In addition to deleting redundant code, this avoids some assumptions in FindSDL2 about the layout of a SDL installation. The current libsdl2-dev package in Debian breaks those assumptions; this is considered a bug and will hopefully be fixed soon, but it illustrates how fragile these assumptions can be. We can be more robust against different installation layouts by relying on SDL's own CMake integration. When linking to a copy of CMake in a non-standard location, users can now set the SDL2_DIR or CMAKE_PREFIX_PATH environment variable to point to it; previously, these users would have used the SDL2DIR environment variable. This continues to be unnecessary if using matching system-wide installations of CMake and SDL2, for example both from Debian.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12439
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     1
CMakeCache.txt
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     2
CMakeFiles
15348
e390ef1c7a5c update .gitignore
alfadur
parents: 13433
diff changeset
     3
moc_*.*
e390ef1c7a5c update .gitignore
alfadur
parents: 13433
diff changeset
     4
qrc_*.*
12439
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     5
*.o
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     6
*.a
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     7
*.qm
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     8
Makefile
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
     9
bin
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    10
*.hi
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    11
*.ppu
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    12
*.*~
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    13
*.core
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    14
hedgewars.pro.user
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    15
config.inc
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    16
cmake_install.cmake
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    17
QTfrontend/hwconsts.cpp
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    18
QTfrontend/servermessages.h
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    19
CPackConfig.cmake
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    20
CPackSourceConfig.cmake
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    21
tools/cmake_uninstall.cmake
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    22
install_manifest.txt
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    23
.DS_Store
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    24
*.swp
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    25
*.orig
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    26
*.diff
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    27
vittorio.*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    28
project_files/HedgewarsMobile/Data/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    29
project_files/HedgewarsMobile/Build/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    30
gameServer/dist/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    31
misc/liblua/Xcode/build/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    32
misc/libphysfs/Xcode/build/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    33
misc/libphyslayer/Xcode/build/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    34
moc_*.cxx_parameters
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    35
relre:^release\/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    36
*.log
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    37
*.cmd
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    38
*.diff
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    39
*.patch
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    40
*.orig
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    41
*.bak
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    42
*.rej
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    43
project_files/hwc/*.c
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    44
project_files/hwc/*.h
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    45
project_files/Android-build/SDL-android-project/jni/**
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    46
project_files/Android-build/SDL-android-project/obj
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    47
project_files/Android-build/SDL-android-project/libs/armeabi*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    48
project_files/Android-build/SDL-android-project/bin
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    49
project_files/Android-build/SDL-android-project/gen
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    50
project_files/Android-build/SDL-android-project/local.properties
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    51
project_files/Android-build/SDL-android-project/project.properties
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    52
project_files/Android-build/SDL-android-project/default.properties
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    53
project_files/Android-build/SDL-android-project/proguard.cfg
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    54
project_files/Android-build/SDL-android-project/.*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    55
project_files/Android-build/out
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    56
project_files/Android-build/Makefile.android
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    57
hedgewars-build-desktop-Qt*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    58
hedgewars-build-desktop-Qt*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    59
*.depends
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    60
tools/build_windows_koda.bat
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    61
share/hedgewars/Data/misc/hwengine.desktop
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    62
*.exe
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    63
_CPack_Packages/
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    64
version_info.txt
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    65
*.tar.*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    66
*.or
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    67
*.res
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    68
Hedgewars.app/*
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    69
tools/CreateMacBundle.cmake
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    70
share/Info.plist
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    71
CTestTestfile.cmake
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    72
arch.c
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    73
*.swp
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    74
*~.nib
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    75
*.pbxuser
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    76
*.perspective
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    77
*.perspectivev3
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    78
*.project.xcworkspace
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    79
*.xcuserdata
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    80
xcuserdata
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    81
*.mode1v3
451b90e2bba9 - Add .gitignore (duplicated from .hgignore)
antonc27 <antonc27@mail.ru>
parents:
diff changeset
    82
*.mode2v3
12642
ee7815bc5874 Put Testing dir into .hgignore and .gitignore
Wuzzy <almikes@aol.com>
parents: 12439
diff changeset
    83
Testing/*
13433
fb104e150878 Implement to_raw_protocol for Rnd and enable tests. Add cargo/rls build artifacts to .gitignore
Marcin Mielniczuk <marmistrz.dev@zoho.eu>
parents: 12642
diff changeset
    84
gameServer2/rls
fb104e150878 Implement to_raw_protocol for Rnd and enable tests. Add cargo/rls build artifacts to .gitignore
Marcin Mielniczuk <marmistrz.dev@zoho.eu>
parents: 12642
diff changeset
    85
gameServer2/target