Andre Poenitz wrote:
> On Sat, Jan 20, 2007 at 12:25:36PM +1800, Bo Peng wrote:
>>> i tried the cmake thing, but an attempt to build lyx from the created
>>> lyx-qt4.sln with msvc produced
>>> the following error:
>> version.C needs to be generated from version.C.in and MSVS Gui does
>> not know this. I guess you need to first build lyx from command line
>> the first time to obtain this file, and then fire up msvs.
>>
>> Peter, am I right?
version.C and package.C are created by the cmake script with the same
process when the project files are generated. The command therefore is
configure_file:
configure_file(${TOP_SRC_DIR}/src/version.C.in
${CMAKE_CURRENT_BINARY_DIR}/version.C)
>
> I think the .vcproj generator should insert proper custom build steps.
After a new checkout Bernhard has no problems any more, so I assume
it was due to a version.C file in the source tree.
Peter
>
> Andre'
>