I want to switch from SCons to CMake.

Reading the file "INSTALL.cmake" I see that this file is outdated (it tells me that I should install MSVC 2005). Do we have a more recent description how to use CMake?

Besides this, in the "INSTALL.cmake" I read that i need "win32libs with the 'KDE on Windows' installer". Is this still the case?

---------------

When I try to compile LyX using CMake, it stops with these error messages:

CMake Error at modules/FindGNUWIN32.cmake:45 (message):
  Could NOT find GNUWIN32, please set GNUWIN32_DIR
Call Stack (most recent call first):
  modules/LyXPaths.cmake:58 (find_package)
  CMakeLists.txt:38 (include)
-- -- PACKAGE not versioned, to enable use -DUseVersionSuffix=1
--
-- All *.cpp files of a project are merged into two files, disable with 
-Dmerge=0
--
CMake Error at modules/FindQt4.cmake:1017 (message):
  Qt qmake not found!
Call Stack (most recent call first):
  CMakeLists.txt:187 (find_package)


I had a look into "FindQt4" and see there this code:

# check for qmake
find_program(QT_QMAKE_EXECUTABLE NAMES qmake qmake-qt4 PATHS
  "[HKEY_CURRENT_USER\\Software\\Trolltech\\Qt3Versions\\4.0.0;InstallDir]/bin"
  "[HKEY_CURRENT_USER\\Software\\Trolltech\\Versions\\4.0.0;InstallDir]/bin"
  $ENV{QTDIR}/bin)

Why are there two hardcoded paths as possible target?


In this first try, I started CMake using the "build.bat" in the folder
"~\lyx-devel\development\cmake"
I'm using Qt 4.5.3 in this folder
"~\lyx-devel\lyx-windows-deps-msvc2008\qt-4"

I guess I need to rename the Qt folder or set its path somewhere but don't know where. Or do I need to have the MSVC version of Qt 4.6.x installed?

thanks and regards
Uwe

Reply via email to