Author Topic: Debugging projects with some foreign CMakeLists.txt inside  (Read 8 times)

Online Дмитро

  • Multiple posting newcomer
  • *
  • Posts: 102
Good and good to all the time of day and a good season of the year!
I downloaded a program that contains many different CMakeLists.txt inside, this program successfully into a project for Code :: Blocks, and it compiled very well, and programs and libraries were formed, with extensions including example.exe and many other different.exe, and besides some libgame.dll, others different .dll, libgame.a, other .a, in a word itís good.
But now I want to debug, and I really donít know, I donít understand. Here is what writes for me: The selected target is only running pre / post build step commands
Can't debug such a target ...
And here below: Active debugger config: GDB / CDB debugger: Default
Building to ensure sources are up-to-date
Selecting target:

I do not know what to do.

Moreover, when debugging for some projects, I sometimes want to be able to set parameters on the command line, for example like this mainrar.exe -x -9 example_0_1.txt. But execute in the debugger.
Yesterday, I googled for two hours, then Yandex, various other search engines on the Internet .... There wasnít! Teach me, help me! Be kind!