summaryrefslogtreecommitdiffstats
path: root/Modules/FindSDL_mixer.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Simplify CMake per-source license noticesBrad King2016-09-271-14/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-291-2/+2
| | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* Modules: Wrap long lines in pre-formatted documentation blocksBrad King2014-11-061-1/+2
| | | | Help format the blocks better for display without a wide screen.
* FindSDL: Make FindSDL_*.cmake path suffixes consistent with main moduleBrad King2014-03-101-1/+3
| | | | | | | | Add the 'SDL' path suffix to the FindSDL_*.cmake modules. Add a comment explaining the purpose of suffixes as in commit v3.0.0-rc1~540^2 (FindSDL: Add path suffixes for <prefix>/include/..., 2013-10-08). Inspired-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
* FindSDL: Add additional search paths on MSVC (#14029)Benjamin Eikel2013-11-211-1/+7
| | | | | | | | Add an architecture-specific library directory path suffix for each component. Use different search path for SDL_sound. Project files in VisualC directory suggest that a win32lib will hold the libraries. Reported-by: Paul Hampson <Paul.Hampson@Pobox.com>
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-12/+26
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* FindSDL_...: Restore dropped search paths (#13819)Benjamin Eikel2012-12-301-1/+2
| | | | | Restore the search paths that were accidentally dropped by me in commit 9ed24c53. This was already fixed for FindSDL.cmake in commit 7cb51739.
* FindSDL: Stay compatible with old input variablesBenjamin Eikel2012-09-251-0/+8
| | | | Suggested-by: David Cole <david.cole@kitware.com>
* FindSDL: Remove from find_... calls PATHS that are set by defaultBenjamin Eikel2012-09-251-20/+1
| | | | Use PATH_SUFFIXES to add SDL parts to standard paths.
* FindSDL: Add my copyright tag to all FindSDL_* modulesBenjamin Eikel2012-09-251-0/+1
|
* FindSDL: Update documentationBenjamin Eikel2012-09-251-5/+11
|
* FindSDL: Add version support for FindSDL_mixerBenjamin Eikel2012-09-251-1/+18
|
* FindSDL: Use SDL_MIXER prefix for variablesBenjamin Eikel2012-09-251-4/+14
|
* use PATH_SUFFIXES to simplify find_* callsRolf Eike Beer2012-08-141-12/+6
| | | | | | Especially remove "lib64" when the given paths are all Unix ones and "lib" is also explicitely given. In that case CMake will search "lib64" anyway for platforms where it is known to make sense.
* use the find_* functions ENV parameterRolf Eike Beer2012-08-141-4/+4
| | | | | | | | | Instead of directly passing $ENV{SOMEVAR} to a find_* call pass in ENV SOMEVAR. This will make sure the paths will get correctly handled through different platforms, especially on Windows. Also fixes one place where paths with windows delimiters (\) were hardcoded to use forward slashes.
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* do not explicitely specify /usr and /usr/local as search pathsRolf Eike Beer2012-06-191-4/+0
| | | | If not explicitely excluded these paths are searched automatically anyway.
* FindSDL*: use FPHSA (#12467)Rolf Eike Beer2012-02-111-4/+3
|
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* ENH: Cleanup Find* modules with new HINTS featureBrad King2008-06-091-13/+3
| | | | | | | | | | - The find_* commands now provide a HINTS option. - The option specifies paths to be preferred over the system paths. - Many Find* modules were using two find calls with NO_DEFAULT_PATH to approximate the behavior, but that blocked users from overriding things with CMAKE_PREFIX_PATH. - This commit uses the HINTS feature to get desired behavior in only one find command call.
* BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be ↵Brad King2008-01-161-11/+2
| | | | referenced directly by FIND_* command calls. The commands search it automatically.
* BUG: Fixed modules to set FOO_FOUND when both headers and libraries are found.Eric Wing2007-12-211-50/+49
| | | | | | | | BUG: FindSDL now has flag it responds to so it will not find/link against SDLmain. This is required to build libraries instead of applications since they don't have main(). ENH: All modules have a predictable search order, where environmental variables are searched before system paths. This is designed to make automation easier for those that need to automatically build projects without intervention but may be using alternative install locations for isolated testing. ENH: New modules for OpenSceneGraph, Freetype, GDAL, Lua, QuickTime, GIFLIB, Producer, OpenThreads. STYLE: Added documentation explaining peculuar SDL_LIBRARY_TEMP variable in SDL module when library find is incomplete.
* ENH: cleanupsKen Martin2005-12-151-2/+2
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-4/+4
|
* ENH: changes from Eric Wing, bug 2249Bill Hoffman2005-10-281-9/+36
|
* ENH: add Eric Wings FindSDL updatesBill Hoffman2005-08-101-0/+2
|
* ENH: add a bunch of find sdl stuff from eric wingBill Hoffman2005-07-131-0/+53