Brad King
8bd3e51a1c
Absoft: Enable FortranCInterface check in Fortran test
...
Exclude module symbol mangling because Absoft mangles with ".in." so the
symbols cannot be referenced from C.
2011-05-20 09:00:21 -04:00
Brad King
d7b376b3a7
Absoft: Detect implicit link libraries on Linux and Mac
...
Use the "-X -v" flag to the Absoft front-end to pass "-v" to the gcc it
invokes under the hood. Teach CMakeParseImplicitLinkInfo to exclude
linker version lines from consideration as link lines. Fix parsing of
Sun's linker search path option "-Y..." to avoid conflict with the Mac
linker option "-Y<num>".
2011-05-20 08:57:51 -04:00
Brad King
ac5b999fff
Add Absoft Fortran compiler id and basic flags
...
Identification at preprocessing time depends on definition of __ABSOFT__
to be added in service pack V11.1.2 of the compiler.
2011-05-20 08:53:36 -04:00
Brad King
cdc2b41cc2
Fix CompileCommandOutput test build on Windows
...
Add dllexport markup for the shared library.
2011-05-20 08:06:35 -04:00
KWSys Robot
c5aae0e625
KWSys Nightly Date Stamp
2011-05-20 00:12:09 -04:00
Brad King
3d92c8c827
Explicitly cast time value in cmSystemTools::RandomSeed
...
Use static_cast to avoid warnings like
conversion to ‘unsigned int’ from ‘__time_t’ may alter its value
conversion to ‘unsigned int’ from ‘__suseconds_t’ may alter its value
We do not care if the value is truncated because we are looking for just
32 bits anyway.
2011-05-19 07:56:04 -04:00
Brad King
7039d1fd9b
Fix CompileCommandOutput test for Make tools not supporting spaces
...
Use underscores instead of spaces for such Make tools.
2011-05-19 07:38:06 -04:00
Brad King
4268e3d7e9
run_compile_commands: Cast istream::get() result to char
...
We perform error checking on the stream after reading so this conversion
is safe.
2011-05-19 08:02:21 -04:00
KWSys Robot
14abf9f3d8
KWSys Nightly Date Stamp
2011-05-19 00:10:07 -04:00
Brad King
eb6f461fc1
VS 6: Define _WIN32_WINNT to load wincrypt.h correctly
2011-05-18 10:09:23 -04:00
Brad King
c45c60b24f
run_compile_commands: Avoid extra stl vector conversion
...
The Sun compiler does not provide the proper vector constructor to
initialize it from an iterator pair of a non-matching type. Extend the
ParseUnixCommandLine API to provide a vector of the proper type so no
conversion is needed.
2011-05-18 09:44:28 -04:00
KWSys Robot
c7d4cf1db1
KWSys Nightly Date Stamp
2011-05-18 00:12:05 -04:00
Brad King
e1b0a11dd4
Improve string(RANDOM) default seed
...
The naive time(0) seed is unique only within one second. Instead try to
read a real source of entropy and otherwise fall back to a combination
of the process id and high-resolution time.
2011-05-17 10:07:26 -04:00
Brad King
7c5be5114c
run_compile_commands: Avoid shadow in std::map<>::at workaround
...
The map has a member called "empty" so use a different name for the
local variable in our approximate at() method.
2011-05-17 09:25:44 -04:00
Brad King
169bb05f90
Provide std::map<>::at for use in run_compile_commands
...
Many compilers we support do not provide the at() member of std::map.
Use the workaround added by commit a7e7a04a
(Fix run_compile_commands
build on Apple GCC 3.3, 2011-05-16) for all compilers.
2011-05-17 08:56:08 -04:00
Brad King
4e2185cbd0
Make std::map usage more portable in language=>flags/defines maps
...
Older versions of GCC, the HP compiler, and the SGI MIPSpro compiler do
not like the use of make_pair in this case and the conversions it
requires:
a value of type "const char *" cannot be used to initialize an entity
of type "char [1]"
/usr/include/g++-3/stl_pair.h:68: assignment of read-only location
Instead use a map lookup pattern already used throughout the rest of our
source tree.
2011-05-17 08:50:55 -04:00
KWSys Robot
dc2a45fa3f
KWSys Nightly Date Stamp
2011-05-17 00:13:04 -04:00
Wesley Turner
0fb388c733
Ensure executable files have executable permissions.
...
Fix the OSX X11 CPack generator to make sure the installer
that it generates contains executable files.
2011-05-16 18:15:32 -04:00
Will Dicharry
3978f3221f
Add logic for CMake built HDF5 install.
...
The find module calls find_package( HDF5 QUIET NO_MODULE ). If that succeeds,
the find module variables are set based on the imported target locations.
2011-05-16 15:41:18 -06:00
Will Dicharry
063ac873ce
HDF5 high level library is a find COMPONENT now.
...
The HDF5 high level library was originally hard coded as a dependency when the C
bindings are desired. The high level API is now requested as a COMPONENT.
2011-05-16 15:36:47 -06:00
Tim Gallagher
34ea179013
Modified the FindHDF5.cmake file to locate the Fortran bindings.
2011-05-16 15:35:57 -06:00
Brad King
a7e7a04aaf
Fix run_compile_commands build on Apple GCC 3.3
...
This compiler does not provide the "at" method of std::map. Approximate
it well enough for our needs.
2011-05-16 12:05:49 -04:00
Brad King
c9174c0e4b
Fix signed/unsigned comparison in EscapeJSON
2011-05-16 11:55:56 -04:00
Brad King
dca304ec8d
Merge branch 'MakeCodeBlocksGeneratorNonVerbose2' into rule-messages
...
Conflicts:
Source/cmGlobalUnixMakefileGenerator3.cxx
Source/cmGlobalUnixMakefileGenerator3.h
2011-05-16 11:28:07 -04:00
Brad King
051cee0096
Revert "Honor RULE_MESSAGES property for build target messages" ( #12190 )
...
This reverts commit dc36b34994
. It broke
dependency logic instead of only silencing messages. Revert to previous
behavior.
2011-05-16 11:26:58 -04:00
Manuel Klimek
8346a28a0a
Only offer the compile command output feature on unix systems
2011-05-16 10:42:10 -04:00
Brad King
3a8add058b
ENH: Fix Intel 12 plugin project generation for VS < 10
...
Suggested-by: Dick Munroe <munroe@csworks.com>
2011-05-16 10:13:04 -04:00
KWSys Robot
a77dfb6d64
KWSys Nightly Date Stamp
2011-05-16 00:12:06 -04:00
KWSys Robot
41ce1ea2d4
KWSys Nightly Date Stamp
2011-05-15 00:12:04 -04:00
KWSys Robot
30bf6162be
KWSys Nightly Date Stamp
2011-05-14 00:13:04 -04:00
KWSys Robot
69677ca471
KWSys Nightly Date Stamp
2011-05-13 00:12:04 -04:00
KWSys Robot
da9ba5726f
KWSys Nightly Date Stamp
2011-05-12 00:13:02 -04:00
KWSys Robot
692f62fc3e
KWSys Nightly Date Stamp
2011-05-11 00:12:05 -04:00
Brad King
7faffc988c
Merge topic 'doc-CMAKE_BUILD_TYPE-config-case-issue-12148'
...
d7d71eb
Fix case typo in CMAKE_BUILD_TYPE docs (#12148 )
2011-05-10 13:58:23 -04:00
Brad King
a4d935933b
Merge topic 'FixVirtualFoldersInEclipse'
...
a7d8d49
-fix VirtualFolders in Eclipse under Windows
2011-05-10 13:58:15 -04:00
KWSys Robot
c32262bc04
KWSys Nightly Date Stamp
2011-05-10 00:10:21 -04:00
Brad King
ee9fc4b1d3
KWSys: Fix leaked FILE in EncodeExecutable error case
...
This leak was detected by cppcheck static analysis.
Author: Hans Johnson <hans-johnson@uiowa.edu>
Change-Id: I1b81cb245acb9a6033f24ecc8d1452ca4df8371a
2011-05-09 08:40:03 -04:00
KWSys Robot
afa83eb4cf
KWSys Nightly Date Stamp
2011-05-09 08:40:03 -04:00
KWSys Robot
6aa45ac2ee
KWSys Nightly Date Stamp
2011-05-08 00:12:16 -04:00
KWSys Robot
d3e09bba6a
KWSys Nightly Date Stamp
2011-05-07 00:13:05 -04:00
Alex Neundorf
a7d8d49b8f
-fix VirtualFolders in Eclipse under Windows
...
Under Windows "locationURI" must be used for virtual folders, while
"location" must be used only for linked folders. Under Linux it doesn't
seem to matter.
Alex
2011-05-06 22:44:45 +02:00
KWSys Robot
303c7e8f40
KWSys Nightly Date Stamp
2011-05-06 00:12:04 -04:00
KWSys Robot
19e3397942
KWSys Nightly Date Stamp
2011-05-05 00:10:10 -04:00
KWSys Robot
aad6c4481d
KWSys Nightly Date Stamp
2011-05-04 00:13:04 -04:00
Brad King
db96c05f74
Merge topic 'OpenBSD-host-processor-issue-12143'
...
0bfabf9
OpenBSD: Use 'arch -s' for host processor (#12143 )
2011-05-03 13:43:09 -04:00
Brad King
d7d71ebda3
Fix case typo in CMAKE_BUILD_TYPE docs ( #12148 )
...
Reported-by: Stephen Kelly <steveire@gmail.com>
2011-05-03 12:49:41 -04:00
KWSys Robot
9c84f747c3
KWSys Nightly Date Stamp
2011-05-03 09:10:01 -04:00
KWSys Robot
c71f5806d2
KWSys Nightly Date Stamp
2011-05-03 09:05:06 -04:00
Brad King
0bfabf967f
OpenBSD: Use 'arch -s' for host processor ( #12143 )
...
On OpenBSD 'uname -p' returns a long descriptive name for the processor.
Use 'arch -s' instead to get a short cpu name.
Suggested-by: Stuart Henderson
2011-05-02 10:33:18 -04:00
KWSys Robot
9ea53478a6
KWSys Nightly Date Stamp
2011-05-01 00:13:03 -04:00