Commit Graph

15 Commits

Author SHA1 Message Date
Brad King 749584509e Fix CXX/Fortran MODULE flags when enabled before C (#12929)
If CXX or Fortran is enabled before C then the values of

  CMAKE_SHARED_MODULE_C_FLAGS
  CMAKE_SHARED_MODULE_CREATE_C_FLAGS

may not be available.  On platforms where MODULE library (plugin) creation
is the same as SHARED library creation initialize the MODULE creation
flags from the SHARED creation flags of the matching language instead of
assuming that C has been enabled first.

Teach the COnly and CxxOnly tests to build MODULE libraries.  The latter
covers this specific case.
2012-02-03 15:45:13 -05:00
Ken Martin ce8810c4e7 ENH: preclean some warnings 2008-03-25 11:27:18 -04:00
Bill Hoffman b57b1c563d BUG: fix for bug 6172 add get source file prop LANGUAGE 2007-12-18 09:57:41 -05:00
Bill Hoffman 5fb34f101a ENH: change to libs that are not real 2007-12-06 22:38:29 -05:00
Bill Hoffman 246e964180 BUG: fix for bug 5455, handle nodefaultlib with more than one lib 2007-12-06 08:40:18 -05:00
Ken Martin 2208231aac ENH: some more CMakeList cleanups 2007-05-11 10:22:20 -04:00
Ken Martin 6b466654dc COMP: converted to lowercase commands 2005-06-20 11:49:29 -04:00
Andy Cedilnik be45b5d205 ERR: Too much commits 2004-02-29 15:13:32 -05:00
Andy Cedilnik 07bd2d8264 ERR: Fix GetModulesFile 2004-02-29 15:13:01 -05:00
Andy Cedilnik 368d7f7c18 ENH: Attempt to add debug library postfix for visual studio 6 2003-10-31 16:55:49 -05:00
Andy Cedilnik e7fd8fb12f Rename libraries from c1 to testc1 2003-01-02 09:06:24 -05:00
Andy Cedilnik 8714396927 Test conversion from ascii to string 2003-01-01 17:35:42 -05:00
Andy Cedilnik 9bb153cbf1 Test also stating and shared libraries 2002-12-31 15:22:48 -05:00
Andy Cedilnik 9ed93397fb If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works... 2002-10-06 12:12:59 -04:00
Bill Hoffman 4ea0f6b949 ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler 2002-04-02 15:43:23 -05:00