mkdir build
cd build
cmake -DCMAKE_C_COMPILER=occ -DCMAKE_CXX_COMPILER=occ -G"MinGW Makefiles" ..
I tried to use OMake instead of mingw32-make:
C:\Work\asl\build>omake
Error: No rule to make target 'src\CMakeFiles\asls.dir\depend'
Error: No rule to make target 'src\CMakeFiles\asls.dir\build'
[ 50%] Built target asls
Error CMakeFiles\Makefile2(125): commands returned error code 2
Error makefile(134): commands returned error code 2
The project I choose to test is https://github.com/aslze/asl.
CMake configuration completed successfully:
I tried to use OMake instead of mingw32-make:
It fails immediately.
Note: I have mingw32-make also in PATH.