summaryrefslogtreecommitdiffstats
path: root/Modules/FindwxWindows.cmake
Commit message (Collapse)AuthorAgeFilesLines
* wxWidgets: Respect WX_CONFIG and WXRC_CMD env varsChristian Pfeiffer2017-11-191-1/+2
| | | | Issue: #17492
* Fix trivial typos in textluzpaz2017-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* 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.
* Use string(APPEND) in ModulesDaniel Pfeifer2016-07-271-1/+1
| | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-37/+67
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-3/+3
|
* Find* (and some other): use ${CMAKE_CURRENT_LIST_DIR} in include()Rolf Eike Beer2012-11-041-1/+1
| | | | | | This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the installed version on the system is rather old this may even lead to bugs, e.g. https://bugs.gentoo.org/show_bug.cgi?id=436540
* use the find_* functions ENV parameterRolf Eike Beer2012-08-141-15/+16
| | | | | | | | | 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.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-50/+50
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-200/+200
| | | | | | | | | | | | | | | | | 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
* fix some typosRolf Eike Beer2012-06-191-1/+1
|
* 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: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. ↵Brad King2006-07-211-202/+217
| | | | It also updates the UseWX test and WXDialog sources to use the new find script.
* ENH: contribution from Jan WoetzelBill Hoffman2006-01-121-191/+469
|
* ENH: cleanupsKen Martin2005-12-151-20/+12
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-135/+129
|
* ENH: Cleanup. Use relative path to modulesAndy Cedilnik2004-08-271-1/+1
|
* BUG: fix bad if statementsBill Hoffman2004-04-221-2/+2
|
* ENH: fix for mingwBill Hoffman2004-04-211-405/+414
|
* ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix itAndy Cedilnik2003-08-211-1/+1
|
* made a minor bugfix on my FindwxWindows.cmake.Andy Cedilnik2003-07-311-3/+5
| | | | | | I capsulated the regular expression matching for the libdrs with another IF (line 355). By: Jan Woetzel
* ENH: Improved find module. Thank you Jan WoetzelAndy Cedilnik2003-07-291-75/+403
|
* Change prioritiesAndy Cedilnik2002-11-251-2/+2
|
* Add some search pathsAndy Cedilnik2002-10-091-1/+1
|
* Fix commentsAndy Cedilnik2002-09-231-3/+3
|
* Fix find wxWindowsAndy Cedilnik2002-09-191-3/+3
|
* Improve searching for wxWindowsAndy Cedilnik2002-09-191-13/+20
|
* FIX:Sebastien Barre2002-08-091-9/+15
| | | | | | - WINDOWS does not exist, use WIN32 (or defineWINDOWS if cygwin can not be used inUnix mode?), - fix an un-closed IF, - use same prefix for vars (and make it advanced)
* This hopefully finds wxWindows on UNIXAndy Cedilnik2002-08-091-3/+17
|
* Add UNIX support for WXWINDOWSAndy Cedilnik2002-08-081-20/+29
|
* ENH: first stab at wxWindows support (win32)Sebastien Barre2002-08-081-0/+39