June 16, 2011

SimonL SimonL
Lab Rat
45 posts

Jom and CMake

 

Hi i am having trouble using jom with cmake using VS 2008 express edition. I know it is not properly supported but i was wondering if anyone had figured it out.
The error i get is

  1. I:\ws\91-00250\var\PC\build\Win32\Debug>jom
  2. jom 0.6.2 - empower your cores
  3.  
  4. "C:\Program Files\CMake 2.8\bin\cmake.exe" -HI:\ws\91-00250\var\PC\src -BI:\ws\9
  5. 1-00250\var\PC\build\Win32\Debug --check-build-system CMakeFiles\Makefile.cmake
  6. 0
  7. -- Using FREE VC TOOLS, NO DEBUG available
  8. -- Using FREE VC TOOLS, NO DEBUG available
  9. -- Configuring done
  10. -- Generating done
  11. -- Build files have been written to: I:/ws/91-00250/var/PC/build/Win32/Debug
  12. "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_start I:\ws\91-0025
  13. 0\var\PC\build\Win32\Debug\CMakeFiles I:\ws\91-00250\var\PC\build\Win32\Debug\CM
  14. akeFiles\progress.marks
  15. I:\bin\jom.exe -f CMakeFiles\Makefile2 /nologo - all
  16. I:\bin\jom.exe -f lib\91-00250\IBMPC\MSWIN32\CMakeFiles\91-00250.dir\build.make
  17. /nologo - lib\91-00250\IBMPC\MSWIN32\CMakeFiles\91-00250.dir\depend
  18. ERROR in line 54: Can't open
  19. command failed with exit code 2
  20. QFSFileEngine::open: No file name specified
  21. command failed with exit code 2

the directory lib\91-00250\IBMPC\MSWIN32\CMakeFiles\91-00250.dir\ exists however there is no depend file just depend.make depend.internal etc

i have tried with both the standard jom and the version found here http://qt.gitorious.org/~saroengels/qt-labs/jom-cmake/trees/master [qt.gitorious.org]

the command i run is

  1.  cmake ../../../src  -DCMAKE_BUILD_TYPE:STRING=Debug -G "NMake Makefiles JOM"

with some additional flags to set internal variables

0 replies

 
  ‹‹ Using 2 or more .ui files together      Howto have a pre-build target generated by qmake ››

You must log in to post a reply. Not a member yet? Register here!