[CMake] Borland support
Boudewijn Rempt
boud at valdyas.org
Thu Feb 21 06:04:25 EST 2008
Hi,
I'm charged with creating a sane build system for a large Borland 2006
codebase, and having learned to love cmake in the KDE project, I wanted
to try to use cmake for this. Documentation on using cmake and borland
seems a bit scarce though.
Right now I'm having a problem getting the linker phase to work:
Linking CXX shared library GcStd100.dll
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
Turbo Incremental Link 5.70 Copyright (c) 1997-2006 Borland
Error: Unable to open file 'GCLIB.RES'
** error 1 ** deleting libs\gcstd\GcStd100.dll
** error 1 ** deleting libs\gcstd\CMakeFiles\GcStd100.dir\all
** error 1 ** deleting all
This is the cmake file for this library:
-----
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/dependencies/oniguruma )
FILE (GLOB GcStd100_LIB_SRCS *.cpp)
ADD_LIBRARY(GcStd100 SHARED ${GcStd100_LIB_SRCS} )
INSTALL(TARGETS GcStd100 DESTINATION ${LIB_INSTALL_DIR})
----
Oh -- and how can I make a bpl instead of a dll?
Yours,
Boudewijn
More information about the CMake
mailing list