Hello guys,
I am a newbie developer, who is learning about CMake, cause I would like to use it for an app am building. Apologies if my English is not good.https://forums.codelite.org/posting.php?mode=post&f=11#
The problem is that, when I create a new project, selecting the "CMake Executable" option, then I try to build it, nothing happens. Well, actually I receive an error message:
///
C:\Windows\system32\cmd.exe /C mingw32-make -j4
----------Building project:[ CmakeTest - Debug_Linux ]----------
mingw32-make: *** No targets specified and no makefile found. Stop.
====0 errors, 0 warnings====
///
I have been using CLion from Jetbrains, which is extremely simple, just click on Build and that's all. I understand that Codelite gives you more control and hence you need to know what you are doing. So, my questions are:
1. Why the error says "Debug_Linux", I have selected "Debug_Windows" but it's always reverted to Linux.
2. I click on "Build" and that's the error I get, not sure why it's trying to invoke make, at least on Clion I always saw a "CMake" command used to build and nothing else.
3. I created the Project using the "CMake Executable" but I have seen many people on the Internet using the "Custom Makefile" option for their projects, so perhaps I am choosing the wrong option?
If you want to see any screenshot or info, please tell me.
I am using Codelite 10.0.7, with the Windows installer. Using GCC 5.1.
Regards and thanks a lot.
CMake Executable Project
-
- CodeLite Curious
- Posts: 1
- Joined: Sun Sep 10, 2017 8:24 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
CMake Executable Project
You do not have the required permissions to view the files attached to this post.
Last edited by kowalski007 on Sun Oct 01, 2017 8:45 am, edited 1 time in total.
-
- CodeLite Curious
- Posts: 9
- Joined: Sat Sep 21, 2013 7:04 pm
- Genuine User: Yes
- IDE Question: C++
- Contact: