Codelite 13.0.0 from Ubuntu 20.04 LTS repos.
I searched this forum and didn't find any mention of this so asking question.
Simple little CMake based project to bring up three nearly empty windows written in NanoGUI.
Tried to follow this official guide: https://docs.codelite.org/plugins/cmake/.
Right clicking and choosing "Run CMake" shows this in the build window:
Code: Select all
cmake /home/developer/Projects/codelite/fullscreen-1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/developer/Projects/codelite/cmake-build-Debug/fullscreen-1
==== Done ====
directory files look okay
Hitting [F7] shows the following:
Code: Select all
MESSAGE: Entering directory `/home/developer/Projects/codelite/build-debug'
/bin/sh -c 'make -j4'
----------Building project:[ fullscreen-1 - Debug_Linux ]----------
make: *** No targets specified and no makefile found. Stop.
====0 errors, 0 warnings====
If I try the build from the right click menu I also get this:
Code: Select all
MESSAGE: Entering directory `/home/developer/Projects/codelite/build-debug'
/bin/sh -c 'make -j4'
----------Building project:[ fullscreen-1 - Debug_Linux ]----------
make: *** No targets specified and no makefile found. Stop.
====0 errors, 0 warnings====
If I try the "cmake" option from the same right click menu this is the output
Code: Select all
MESSAGE: Entering directory `/home/developer/Projects/codelite/build-debug'
/bin/sh -c 'cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1'
----------Building project:[ fullscreen-1 - Debug_Linux ]----------
CMake Error: The source directory "/home/developer/Projects/codelite" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
====0 errors, 0 warnings====
Do I have to fill a working directory in here?
There has to be something simple I'm missing.
Appreciate any help.