summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-formatKitware Robot2016-05-166-33/+26
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Merge topic 'test-watcom-workaround'Brad King2016-05-022-1/+1
|\ | | | | | | | | | | 47c29885 Tests: Fix RunCMake.BuildDepends filesystem delay for Watcom WMake 26790ad9 Tests: Add workaround to Wrapping test for Watcom failure
| * Tests: Add workaround to Wrapping test for Watcom failureBrad King2016-04-282-1/+1
| | | | | | | | | | | | The Watcom tools do not seem to like our wrapFLTK executable to mix C and C++ sources. Work around this by using C++ for both sources.
* | Format include directive blocks and ordering with clang-formatBrad King2016-04-291-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Tests: Cover fltk_wrap_ui on an executable that links librariesBrad King2016-01-213-4/+7
| | | | | | | CMake 3.4 may crash on this case. The problem seems to have been fixed since then, but keep it working by adding a test case now. Reported-by: Gonzalo Garramuño <ggarra13@gmail.com>
* Tests: Don't read the LOCATION property from build targets.Stephen Kelly2013-11-191-2/+1
|
* Drop use of configure_file IMMEDIATE optionDaniele E. Domenichelli2013-11-131-2/+2
| | | | | | Since commit 7d47c693 (Drop compatibility with CMake < 2.4, 2013-10-08) we no longer need to use the configure_file IMMEDIATE option to support compatibility modes less than 2.0.
* Fix casing of 'Qt' in docs, comments and user-visible strings.Stephen Kelly2012-08-281-4/+4
| | | | | QT (cue-tea) is Apple QuickTime. Qt (cute) is the C++ framework.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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-48/+48
| | | | | | | | | | | | | | | | | 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-132-5/+5
| | | | | | | | | | | | | | | | | 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/ \+$//'
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* BUG: Fixed fake generation of files to behave more like fluid.Brad King2007-11-102-5/+0
|
* ENH: remove findqt3 from cmake's cmakelist filesBill Hoffman2007-11-022-0/+7
|
* ENH: removed old VTK testsKen Martin2006-12-121-67/+0
|
* ENH: make sure it is qt3 before running testBill Hoffman2006-11-221-2/+2
|
* ENH: make sure findqt3 finds qt3 and not qt4Bill Hoffman2006-11-221-1/+1
|
* COMP: More fixes for non-ANSI C compilers.Brad King2006-06-031-1/+7
|
* COMP: Fix for non-ANSI C compilers.Brad King2006-06-031-1/+1
|
* BUG: Custom commands should actually generate the files they claim to generate.Brad King2006-06-022-3/+15
|
* ENH: for all custom commands that can not be given to a target, add them to ↵Bill Hoffman2006-01-092-2/+21
| | | | all targets in the current makefile
* BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not ↵Bill Hoffman2006-01-021-2/+2
| | | | fail tests
* COMP: Need target-level dependency from wrapper targets on Wrap executable ↵Brad King2005-11-171-0/+3
| | | | target.
* ENH: more qt changesBill Hoffman2005-09-121-2/+1
|
* ENH: clean up the find qt stuff someBill Hoffman2005-09-101-1/+1
|
* ENH: change to work with new FLTK commandKen Martin2005-06-101-0/+1
|
* ENH: no longer test ITK commandKen Martin2005-06-091-10/+0
|
* ENH: remove bad add target commandsKen Martin2005-06-081-2/+0
|
* ENH: remove requirements on 1.2Ken Martin2005-06-081-5/+5
|
* ENH: removed old commandKen Martin2005-06-021-3/+1
|
* BUG: Do not add Qt wrapping test unless QT is found and QT_UIC_EXECUTABLE is ↵Brad King2005-03-161-2/+2
| | | | found.
* ENH: Adding cleaning of custom command outputs during "make clean".Brad King2005-02-091-0/+4
|
* BUG: Fix dependency to input file for QT_WRAP_CPP. Bug #421 - QT_WRAP_CPPAndy Cedilnik2004-01-052-1/+9
|
* ENH: Better testingAndy Cedilnik2003-09-241-6/+10
|
* ENH: More verbose testAndy Cedilnik2003-08-071-0/+1
|
* ENH: Make it work for QT 2.3 non commercial on windowsAndy Cedilnik2003-08-011-0/+1
|
* ENH: Add more debugAndy Cedilnik2003-08-011-0/+1
|
* ERR: Only link qt to qt executableAndy Cedilnik2003-08-011-1/+1
|
* ERR: Attempt to fix wrapping on WindowsAndy Cedilnik2003-07-311-1/+4
|
* ENH: Fix problem on HP. Whay should K&R be default?Andy Cedilnik2003-07-311-7/+2
|
* ENH: Really test uic and perform configured uic testAndy Cedilnik2003-07-302-34/+78
|
* ENH: Add executable for wrapping test, so that make stage actually passesAndy Cedilnik2003-07-302-4/+19
|
* for unix add x11 and pthreads for qtBill Hoffman2003-07-251-0/+3
|
* minor fixBill Hoffman2003-06-041-0/+9
|
* If display is not set, do not attempt to run applicationAndy Cedilnik2003-04-021-5/+21
|
* now uses SET instead of SOURCE_LIST commandKen Martin2002-12-121-2/+2
|
* added include of FindQT.cmakeFranck Bettinger2002-09-121-2/+8
|
* corrected test for QTWrapUIFranck Bettinger2002-09-122-7/+6
|
* added test for QTWrapUIFranck Bettinger2002-09-111-1/+12
|
* test for QTWarpUIFranck Bettinger2002-09-112-0/+59
|