Alexander Neundorf
61d3444f93
ENH: merge CMake-CrossCompileBasic to HEAD
...
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions
Alex
2007-05-17 13:20:44 -04:00
Brad King
fc7c433463
ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
2007-03-19 10:00:36 -04:00
Brad King
007fa79037
BUG: Fixed MSVC8 module build rule to not use /implib option. This is an incremental fix for bug#4210.
2007-03-10 07:37:42 -05:00
Brad King
475447870f
BUG: Shared library creation should use /implib option to specify the name of the import library explicitly. This is an incremental step for bug #4210 .
2007-03-09 13:59:18 -05:00
Brad King
0e8515fa4c
BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway.
2007-03-07 15:57:52 -05:00
Bill Hoffman
5ac4801a04
BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039
2006-11-11 14:04:29 -05:00
Brad King
b155f3aa1c
ENH: Adding image version number (major.minor) property to windows binaries. Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219.
2006-10-16 18:17:14 -04:00
Bill Hoffman
115521338c
BUG: fix for bug#3652 use link /lib instead of lib
2006-10-03 16:12:50 -04:00
Brad King
276e7e21a3
ENH: Adding flags to force generation of manifest files when building with VC 8.
2006-08-15 15:33:20 -04:00
Brad King
8e6a9b2065
ENH: Enabled generation of preprocessed and assembly source rules for MSVC with NMake.
2006-08-09 13:45:13 -04:00
Bill Hoffman
47ef504530
BUG: fix for bug 3550, for release builds do not build incremental
2006-07-26 11:15:28 -04:00
Ken Martin
e206d58027
BUG: fix for CXX only projects
2006-07-24 16:13:33 -04:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
Ken Martin
77b401ddb2
ENH: removed logo info from the manifest tool
2006-06-12 13:17:47 -04:00
Ken Martin
3023eb7ccb
ENH: Makefile performance improvements
2006-05-02 09:56:42 -04:00
Bill Hoffman
e6ef33f598
ENH: name pdb files for visual studio make based builds
2006-04-19 16:36:14 -04:00
Bill Hoffman
f2e2f23392
ENH: unix makefiles should work with cl
2006-04-19 15:29:19 -04:00
Bill Hoffman
4a20d4fe39
ENH: don't need two of these
2006-04-19 11:14:00 -04:00
Bill Hoffman
96c140e281
ENH: test for vs8 correctly
2006-04-19 10:56:54 -04:00
Bill Hoffman
0b490110ba
ENH: check for version 1400
2006-04-19 10:11:43 -04:00
Brad King
08289893b8
ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway.
2006-04-11 16:55:49 -04:00
Bill Hoffman
bcfd6f7f69
ENH: add better variables for MSVC versions
2006-04-07 16:46:41 -04:00
Brad King
f0e8c750d1
BUG: Fixed order of options to cl for 32-bit/64-bit test to work with VS 6 NMake.
2006-03-30 16:55:19 -05:00
Bill Hoffman
5a2668b326
ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64
2006-03-30 13:49:56 -05:00
Brad King
88f69f0df9
BUG: /DWIN32 and /D_WINDOWS should be defined for all configurations or if no configuration is set.
2006-03-16 17:40:48 -05:00
Bill Hoffman
36080b04bb
ENH: add support for manifest stuff
2006-03-06 15:01:08 -05:00
Bill Hoffman
ea8c278cd6
ENH: add manifest support for 2005
2006-03-03 12:01:04 -05:00
Bill Hoffman
a5825cd11a
ENH: check in new find stuff
2006-03-02 13:30:22 -05:00
Bill Hoffman
0a0e459102
ENH: make command line flags more consistent with ide settings
2006-02-21 12:19:32 -05:00
Bill Hoffman
6f96bba66d
ENH: fix try compile for MFC
2006-02-14 10:51:36 -05:00
Brad King
7953f6a467
ENH: Adding definition of MSVC when it is the compiler.
2006-02-07 17:10:13 -05:00
Brad King
63b4952f4c
BUG: Removed odbc32.lib and odbccp32.lib from standard libraries on VS 8 because VC++ Express 2005 does not have them. They are SQL database access libraries and should not be needed for every application. User code can always explicitly link the library. Also replacing deprecated /GZ option with /RTC1 for VS 8. This addresses bug#2795.
2006-02-02 20:15:38 -05:00
Bill Hoffman
2694ad76c5
ENH: correct standard libraries
2006-01-17 09:27:43 -05:00
Ken Martin
4bdca3b404
ENH: put CmakeTmp into CMakeFiles
2006-01-12 13:49:32 -05:00
Bill Hoffman
b0c38460bd
ENH: remove duplicates
2005-12-20 13:53:27 -05:00
Bill Hoffman
2dff0978b9
BUG: fix for bug 2488
2005-11-22 12:04:41 -05:00
Brad King
036a78056c
BUG: Fixed flag-to-vcproj-attribute conversion code to work again (it was broken by the optimization changes). Added conversion of /nologo flag to SuppressStartupBanner attribute and /Gy flag to EnableFunctionLevelLinking attribute.
2005-11-18 10:36:52 -05:00
Bill Hoffman
b94d785df9
ENH: add all libs
2005-11-10 14:28:51 -05:00
Bill Hoffman
cb0cd91ff3
ENH: /nologo must be first
2005-08-02 17:41:42 -04:00
Ken Martin
c6b011e35e
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
2005-07-29 09:19:25 -04:00
Bill Hoffman
ff250565a2
ENH: move flags next to compiler, so if env contains compiler and some flag, they stay together
2005-07-20 12:54:12 -04:00
Brad King
6048659e66
BUG: Fixed escaped quote at end of .
2005-06-30 11:18:56 -04:00
Ken Martin
8108786494
ENH: fix for incorrect setting of CONFIZGURATION_TYPES
2005-06-07 12:07:34 -04:00
Andy Cedilnik
6adbe6d049
ENH: Be more verbose, handle network paths, and write compiler output to the log files
2005-05-19 14:36:19 -04:00
Bill Hoffman
16dec1dd0d
ENH: remove debug print
2005-01-28 08:30:56 -05:00
Bill Hoffman
36dd18efce
ENH: stuff to keep compiler tests from re-running all the time
2005-01-20 12:30:03 -05:00
Bill Hoffman
e7bc462755
BUG: fix running of cl in trycompiles
2005-01-17 15:20:41 -05:00
Bill Hoffman
692ba48c4e
ENH: major changes to support addition of languages from cmake modules directory.
2004-09-22 14:42:05 -04:00
Bill Hoffman
0d4cd0436b
ENH better test for free VC tools
2004-09-03 15:19:58 -04:00
Bill Hoffman
652823dc83
ENH: check for ms free command line tools
2004-09-03 12:01:46 -04:00