summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/HP-UX.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | 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-24/+24
| | | | | | | | | | | | | | | | | 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
* Factor HP compiler flags into per-platform/per-compiler filesBrad King2011-03-021-65/+0
| | | | | | | Move HP flags out of Platform/HP-UX.cmake into platform-specific compiler information files "Platform/HP-UX-HP-<lang>.cmake". Factor common values into "Platform/HP-UX-HP.cmake" and load it from the per-language files.
* HP-UX: Always add /usr/lib to rpath (#10571)Brad King2010-09-071-0/+2
| | | | | | | Set CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH in the HP-UX platform file to tell CMake to pass -Wl,+b,/usr/lib no matter whether RPATH is enabled or not. This corrects the behavior of -Wl,+nodefaultrpath to look in this default library path as documented.
* Split GNU compiler information filesBrad King2009-12-021-23/+0
| | | | | | | | | | | | | | This moves GNU compiler flags into new-style modules Compiler/GNU-<lang>.cmake Platform/<os>-GNU-<lang>.cmake We use language-independent helper modules Compiler/GNU.cmake Platform/<os>-GNU.cmake to define macros consolidating the information.
* BUG: Look in arch-specific HPUX implicit link dirsBrad King2009-06-191-5/+11
| | | | | | | | | | | | | | | On HP-UX machines some system libraries appear in architecture-specific implicit linker search paths. We need to add these paths to our system library search path. However, at the time we construct the search path we do not know the target architecture. A full solution requires re-organizing platform configuration files so that the target architecture can be known when needed. Until that happens we can avoid the problem by searching in both 32-bit and 64-bit implicit link directories. By telling CMake that they are implicit directories the generated link lines will never pass the paths, leaving the linker free to find the library of the proper architecture even if the find_library call finds the wrong one.
* ENH: put the 64 bit paths firstBill Hoffman2009-06-151-1/+2
|
* ENH: add more search paths on HPUXBill Hoffman2009-06-151-0/+5
|
* BUG: Recognize .so shared libraries on HP-UXBrad King2009-06-031-0/+1
| | | | | | HP-UX uses both .sl and .so as extensions for shared libraries. This teaches CMake to recognize .so shared libraries so they are treated properly during link dependency analysis.
* BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly ↵Brad King2008-02-271-4/+4
| | | | and preprocessing build rules.
* ENH: Better linker search path computation.Brad King2008-02-211-0/+4
| | | | | | | | | | | | | - Use linker search path -L.. -lfoo for lib w/out soname when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME - Rename cmOrderRuntimeDirectories to cmOrderDirectories and generalize it for both soname constraints and link library constraints - Use cmOrderDirectories to order -L directories based on all needed constraints - Avoid processing implicit link directories - For CMAKE_OLD_LINK_PATHS add constraints from libs producing them to produce old ordering
* BUG: Fix passing of nodefaultrpath flag to linker through c++ compiler.Brad King2008-02-181-1/+1
|
* ENH: Remove CMAKE_ANSI_CFLAGS variable and instead always add ansi flags to ↵Brad King2008-02-111-2/+3
| | | | CMAKE_C_COMPILE_OBJECT. We should not require every project to reference CMAKE_ANSI_CFLAGS.
* ENH: Enable dependent library search paths on more platformsBrad King2008-02-011-0/+1
| | | | | | | - HP-UX needs dependent library paths as -L options. - IRIX needs dependent library paths as -L options. - Sun needs dependent library paths as -L options. - FreeBSD needs dependent library paths in -rpath-link option.
* ENH: Implement linking with paths to library files instead of -L and -l ↵Brad King2008-01-221-15/+26
| | | | | | | | | | | | | | | | | separation. See bug #3832 - This is purely an implementation improvement. No interface has changed. - Create cmComputeLinkInformation class - Move and re-implement logic from: cmLocalGenerator::ComputeLinkInformation cmOrderLinkDirectories - Link libraries to targets with their full path (if it is known) - Dirs specified with link_directories command still added with -L - Make link type specific to library names without paths (name libfoo.a without path becomes -Wl,-Bstatic -lfoo) - Make directory ordering specific to a runtime path computation feature (look for conflicting SONAMEs instead of library names) - Implement proper rpath support on HP-UX and AIX.
* STYLE: Updated comment about link type flags and passing directly to ld.Brad King2006-09-151-4/+5
|
* BUG: Fix CMAKE_SHARED_*_LINK_*_C_FLAGS to pass link type selection flags ↵Brad King2006-09-151-1/+10
| | | | directly to the linker.
* ENH: Enabling link type selection flags for this platform. See bug#1644 for ↵Brad King2006-09-151-0/+9
| | | | details.
* ENH: Enabling preprocessed source and asembly source generation rules on HP ↵Brad King2006-08-091-0/+14
| | | | aCC and cc.
* ENH: Cleanup link libraries. Remove -l from -ldlAndy Cedilnik2006-04-201-1/+1
|
* ENH: add more search paths and add UnixPaths to all unix platformsBill Hoffman2006-03-271-0/+1
|
* ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and ↵Brad King2006-02-091-0/+1
| | | | CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries.
* ENH: major changes to support addition of languages from cmake modules ↵Bill Hoffman2004-09-221-11/+11
| | | | directory.
* try to fix fortran on hpBill Hoffman2004-09-091-1/+19
|
* ENH: more uniform approach to enable language, one step closer to being able ↵Bill Hoffman2004-08-261-1/+0
| | | | to enable a language without modifing cmake source code
* BUG#895: Adding -DNDEBUG to C and C++ flags for release builds.Brad King2004-06-011-2/+2
|
* ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library ↵Brad King2003-12-121-1/+5
| | | | version support for HP-UX.
* BUG: fix for bug 383 gcc flags are now always set if the compiler is gnuBill Hoffman2003-11-141-1/+2
|
* fix default release flags for hpBill Hoffman2003-02-051-2/+2
|
* BUG: Added missing link flag to export symbols from an executable.Brad King2003-01-241-4/+4
|
* ENH: Added <LINK_FLAGS> to link rules.Brad King2002-12-311-1/+1
|
* temp fix for hpBerk Geveci2002-11-141-1/+1
|
* fix flags for hpBerk Geveci2002-11-141-5/+3
|
* clean up flags with _init flagsBill Hoffman2002-11-111-10/+7
|
* BUG: fix setting of c flagsBill Hoffman2002-11-101-1/+3
|
* fix for cxxflagsBill Hoffman2002-11-091-7/+8
|
* ENH: Moved caching of C*_FLAGS* settings down to ↵Brad King2002-11-081-12/+6
| | | | CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end.
* Complete rework of makefile generators expect troubleBill Hoffman2002-11-081-0/+57