The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=11773 ====================================================================== Reported By: Dongsheng Song Assigned To: ====================================================================== Project: CMake Issue ID: 11773 Category: CCMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2011-01-27 22:00 EST Last Modified: 2011-01-27 22:00 EST ====================================================================== Summary: CMake ignore .RC files when cross building Description: For example:
ADD_LIBRARY(freetds-ct SHARED freetds-ct.def freetds-ct.rc blk.c cs.c ct.c ctutil.c) If I compile on Windows, CMake can use freetds-ct.rc, but when I do a cross compile on Linux: CFLAGS="-m64" CXXFLAGS="-m64" LDFLAGS="-m64" RCFLAGS="-F pe-x86-64"\ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc CMake ignore freetds-ct.rc silently. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-01-27 22:00 Dongsheng Song New Issue ====================================================================== _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers