summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Java: Use set_property/get_property for target variables.Andreas Schneider2011-06-201-37/+77
|
* Java: Create correct jar archive dependencies.Oliver Buchtala2011-04-041-5/+7
| | | | | | | The command generating the jar file depends on java_class_filelist which is generated by another command. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Java: Added some dependency magic to avoid recompilations.Oliver Buchtala2011-04-041-2/+10
| | | | | | | Compile java sources within a custom_command using automatically checked file dependencies and create java_class_filelist after java compile. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Java: Create java_class_filelist only if it does't exist.Oliver Buchtala2011-04-041-1/+3
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* Modules: Added CMake Java support.Andreas Schneider2011-03-293-0/+897
| | | | | | | | | This provides: find_jar add_jar install_jar install_jni_symlink create_javadoc
* FindJava: Find missing java development executables.Andreas Schneider2011-03-291-0/+18
|
* Merge topic 'asn_check_proto'Brad King2011-03-222-0/+125
|\ | | | | | | | | | | 93c56a7 Tests: Added test for check_prototype_definition. 4f252ab Modules: Added CheckPrototypeDefinition module.
| * Modules: Added CheckPrototypeDefinition module.Andreas Schneider2011-03-182-0/+125
| | | | | | | | | | | | This check if the function exists and the prototype we want to use is correct. There are still functions which have different prototypes on different UNIX systems.
* | Merge topic 'include-flags-response-file'Brad King2011-03-221-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 86cb17b Pass include directories with response files to GNU on Windows 9a0b9bc Optionally pass include directories with response files 6e8a67f Generate target-wide flags before individual build rules d099546 Factor old-style -D flags out from -I flag generation
| * | Pass include directories with response files to GNU on WindowsBrad King2011-03-171-0/+3
| | | | | | | | | | | | | | | | | | | | | The GNU 4.x toolchain on MinGW (and therefore MSYS) allows compiler options to be passed via response files. Use this to pass include directory -I options. This allows the include file search path to be very long despite shell and mingw32-make command line length limits.
* | | Merge topic 'FindBLAS-acml-search-improvement'Brad King2011-03-221-8/+88
|\ \ \ | | | | | | | | | | | | | | | | ac475c4 ACML search improvement
| * | | ACML search improvementAlexey Ozeritsky2011-03-151-8/+88
| | |/ | |/|
* | | ProcessorCount: Use ERROR_QUIET with execute_process (#11302)David Cole2011-03-181-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, comment out all "debugging" calls to message() that helped us interpret the output on other platforms when running on the dashboard clients. Using ERROR_QUIET avoids unnecessary stderr output while calling external tools to determine the processor count. If there's an error parsing the output, we set the count to 0 anyhow. Also, the test will fail on a CMake dashboard run if the count comes back equal to 0. Now that the code is "done"-ish, remove the debugging output. Expect no output on stdout or stderr when calling the ProcessorCount function from now on.
* | | ProcessorCount: Add support for remaining platforms (#11302)David Cole2011-03-151-24/+103
| | | | | | | | | | | | Including AIX, cygwin, FreeBSD, HPUX, IRIX, OpenBSD and Sun.
* | | Add ProcessorCount support for QNX via pidin. (#11302)David Cole2011-03-151-2/+22
| | | | | | | | | | | | | | | Thanks to Rolf Eike Beer <eike@sf-mail.de> for the code snippet parsing the pidin output.
* | | If getconf returns empty output, try cpuinfo. (#11302)David Cole2011-03-151-8/+17
| | | | | | | | | | | | | | | | | | | | | Also, add message output (temporarily) for gathering data on all the dashboard machines. After the test runs on the overnight dashboards tonight, I'll comment out the message output and commit/push again.
* | | Add correct module notice header.David Cole2011-03-151-2/+2
| | | | | | | | | | | | Fixes failing ModuleNotices test.
* | | Add module ProcessorCount.cmake (#11302)Michael Wild2011-03-151-0/+60
|/ / | | | | | | | | | | | | | | Credit goes to David Cole ( http://www.kitware.com/blog/home/post/63 ). Also add a script-based test of the new module. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
* | Merge topic 'CPackRPM-TestWithMoreTraces'Brad King2011-03-151-2/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | ade04de Remove debbuging typo a201028 CPack try to please SUSE 64 bits and install lib in lib64 and not lib. 7ebbcf1 CPackRPM non matching ENDIF 0e07b42 CPackRPM even more trace in debug mode or in case of failure 564b731 CPackRPM add more trace output in order to help failing diagnostics
| * | CPackRPM non matching ENDIFEric NOULARD2011-03-101-1/+1
| | |
| * | CPackRPM even more trace in debug mode or in case of failureEric NOULARD2011-03-101-1/+6
| | |
| * | CPackRPM add more trace output in order to help failing diagnosticsEric NOULARD2011-03-101-0/+19
| | |
* | | Merge topic 'CPackDeb-ComponentSupport'Brad King2011-03-151-0/+22
|\ \ \ | | | | | | | | | | | | | | | | bf7066c CPackDeb add Component Support to DEB generator fix #0011655
| * | | CPackDeb add Component Support to DEB generator fix #0011655M. Konrad2011-03-111-0/+22
| |/ / | | | | | | | | | | | | Contribution by Martin Konrad Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | | Merge topic 'qt4-paramfile-speed'Brad King2011-03-151-4/+2
|\ \ \ | | | | | | | | | | | | | | | | ae587e4 Speed up creation of parameters file for moc custom command.
| * | | Speed up creation of parameters file for moc custom command.Clinton Stimpson2011-03-101-4/+2
| |/ / | | | | | | | | | Thanks A. Saratow for patch.
* | | Merge topic 'qt4-cross-compile-no-default'Brad King2011-03-151-34/+34
|\ \ \ | | | | | | | | | | | | | | | | 46f64bd When cross compiling, don't double-root paths when using find_*.
| * | | When cross compiling, don't double-root paths when using find_*.Markus Rathgeb2011-03-101-34/+34
| |/ /
* | | InstallRequiredSystemLibraries: Read reg values with get_filename_componentDavid Cole2011-03-091-4/+12
|/ / | | | | | | | | | | | | | | | | 64-bit CMake can now find the VC redist folder. See this thread on the CMake mailing list for the original report: http://www.cmake.org/pipermail/cmake/2011-March/043342.html Thanks to J. Decker for the suggested fix.
* | Merge topic 'ReworkedAsmSupport'Brad King2011-03-0816-17/+177
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce420 Do not bother enabling C++ in Assembler test 80f6a34 Teach Assembler test to generate main.s at build time 1dafa74 Fix Assembler test to parse C flags string before using 4139a73 -only enable the asm test for the Intel compiler if we are under UNIX 1f6c6b1 -use CMAKE_C_FLAGS when generating the assembler file d0f71e2 Add ASM platform information for HP compiler on HP bd580be Merge branch 'hp-compiler-info' into ReworkedAsmSupport a0bab7a Add ASM platform information for XL compiler on AIX c03b610 Merge branch 'aix-xl-platform-info' into ReworkedAsmSupport c623008 Initialize ASM rpath flags for executables with those for shared libs 17c658f Add support for the Intel compiler used for ASM under Windows 4258b24 Add more regex for gcc, always print the ASM compiler ID 9071b8b Add temporary debug output for compiler ID detection for ASM 48f7199 It's ELSEIF(), not ELSIF() d103c75 Fix bad comparison in the detect assembler-code 20fe0be Only try assembler support for Makefile-based generators 8614470 Use a regexp instead a lot of ORs for checking the compiler ID cf88092 The Assembler test now tests ASM for GNU, Intel, HP, XL and SunPro 66614a8 Add assemble- and preprocess commands for HP 78f7c59 Fix the default CMAKE_ASM_COMPILE_OBJECT, make XL-ASM use it 7456461 Change the default rules so they fit better to the new ASM handling 5542d58 Set the HP asm file suffix f745220 Add support for ASm for the HP compiler. 00735d4 Add suport for ASM for the IBM XL compiler d3e9e8a Add support for ASM for the SunPro compiler 64e66eb Actually use CMAKE_ASM_COMPILER for asm, instead of CMAKE_C_COMPILER 38f92bf Add ASM support for the Intel compiler 4b40d42 Rework the way assembler is handled, use the C/CXX compiler by default
| * | Add ASM platform information for HP compiler on HPBrad King2011-03-022-0/+7
| | | | | | | | | | | | | | | Among other flags this sets RPATH flags correctly so that CMake knows how to treat CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH for the ASM language.
| * | Merge branch 'hp-compiler-info' into ReworkedAsmSupportBrad King2011-03-025-65/+67
| |\ \
| * | | Add ASM platform information for XL compiler on AIXBrad King2011-03-021-0/+2
| | | | | | | | | | | | | | | | | | | | Among other flags this sets RPATH flags correctly so that CMake knows how to treat CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH for the ASM language.
| * | | Merge branch 'aix-xl-platform-info' into ReworkedAsmSupportBrad King2011-03-0217-171/+145
| |\ \ \
| * | | | Initialize ASM rpath flags for executables with those for shared libsBrad King2011-03-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the flags for executables are almost always the same as those for shared libraries each language information file just uses the latter for the former by default. This reduces duplication in the compiler and platform flag information files.
| * | | | Add support for the Intel compiler used for ASM under WindowsAlex Neundorf2011-03-022-1/+7
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Add more regex for gcc, always print the ASM compiler IDAlex Neundorf2011-03-011-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now gcc is also recognized via "Free Software Foundation" Alex
| * | | | Add temporary debug output for compiler ID detection for ASMAlex Neundorf2011-03-011-0/+7
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | It's ELSEIF(), not ELSIF()Alex Neundorf2011-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Fix bad comparison in the detect assembler-codeAlex Neundorf2011-03-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (there was a if("${CMAKE_C_COMPILER}") instead of if(CMAKE_C_COMPILER) ) Alex
| * | | | Add assemble- and preprocess commands for HPAlex Neundorf2011-02-232-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also restore HP-C.cmake, I had accidentially overwritten it with HP-ASM.cmake Alex
| * | | | Fix the default CMAKE_ASM_COMPILE_OBJECT, make XL-ASM use itAlex Neundorf2011-02-232-3/+1
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Change the default rules so they fit better to the new ASM handlingAlex Neundorf2011-02-235-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMAKE_ASM_COMPILE_OBJECT is now so that it fits for GNU, Intel, HP and Sun ASM_ATT had to be adjusted. Also adjusted the default CMAKE_ASM_LINK_EXECUTABLE Alex
| * | | | Set the HP asm file suffixAlex Neundorf2011-02-231-0/+2
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Add support for ASm for the HP compiler.Alex Neundorf2011-02-233-1/+9
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Add suport for ASM for the IBM XL compilerAlex Neundorf2011-02-232-0/+19
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Add support for ASM for the SunPro compilerAlex Neundorf2011-02-232-0/+30
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Actually use CMAKE_ASM_COMPILER for asm, instead of CMAKE_C_COMPILERAlex Neundorf2011-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Add ASM support for the Intel compilerAlex Neundorf2011-02-233-1/+16
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Rework the way assembler is handled, use the C/CXX compiler by defaultAlex Neundorf2011-01-304-7/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the way how the assembler support works in cmake. The language "ASM" now always uses the C/Cxx compiler instead of the assembler directly. This fixes #8392, assembler files are not preprocessed. If one wants to use the assembler directly, the specific assembler "dialect" has to be enabled. I.e. to get as/gas, you have to use now ASM-ATT, the same way for ASM_MASM and ASM_NASM. Implemented this now for gcc. SunStudio, IBM, HP and Intel still todo. Alex