How do I disable CMake in a project? [message #1819528] |
Thu, 16 January 2020 19:46 |
Jay Elston Messages: 1 Registered: January 2020 |
Junior Member |
|
|
I am getting CMake errors in a small project I created recently. I have a working Makefile, and I do not need CMake to manage it.
I would like to switch CMake off. I cannot figure out where this live in the Project's property settings. I do see that there is a CMake section -- which consists of a single button ("Launch CMake GUI..."). However nothing happens when I click it :-(
Here are the error messages I am getting:
When I build, the project compiles and links correctly, and I can see the commands as they are executing in the Console tab.
But after the build complete, the Console is cleared, and I get this:
Building in: C:\Users\jay.elston\eclipse-workspace\SniffArcnet\build\cmake.debug.win32.x86_64
cmake --build . -- -v
[0/1] /usr/bin/cmake.exe -SC:/Users/jay.elston/eclipse-workspace/SniffArcnet -B/cygdrive/c/Users/jay.elston/eclipse-workspace/SniffArcnet/build/cmake.debug.win32.x86_64
CMake Error: The source directory "C:/Users/jay.elston/eclipse-workspace/SniffArcnet" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
FAILED: build.ninja
/usr/bin/cmake.exe -SC:/Users/jay.elston/eclipse-workspace/SniffArcnet -B/cygdrive/c/Users/jay.elston/eclipse-workspace/SniffArcnet/build/cmake.debug.win32.x86_64
ninja: error: rebuilding 'build.ninja': subcommand failed
Build complete (0 errors, 0 warnings): C:\Users\jay.elston\eclipse-workspace\SniffArcnet\build\cmake.debug.win32.x86_64
I can also clean the project, but I get this error after I clean:
ninja clean
[0/1] Re-running CMake...
CMake Error: The source directory "C:/Users/jay.elston/eclipse-workspace/SniffArcnet" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
FAILED: build.ninja ninja: error: rebuilding 'build.ninja': subcommand failed
Eclipse version:
Eclipse IDE for C/C++ Developers
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200
OS: Windows 7, v.6.1, x86_64 / win32
Java version: 1.8.0_152
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03659 seconds