How to CMake Good - 2b - Control Flow and Auto-dereferencing

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 12

  • @ZirJo
    @ZirJo 4 роки тому

    Amazing! Clear, to the point and with examples!

  • @TomHultonHarrop
    @TomHultonHarrop 6 років тому +3

    Awesome videos so far! I've just subscribed :) Would love to see a video on installing (import/export etc.). Keep up the great work!

  • @majestif
    @majestif 6 років тому +1

    Great tutorial! I'm your subscriber now. Keep up the good work!

  • @brunooliveirasoares7489
    @brunooliveirasoares7489 4 роки тому +1

    Great series of videos!
    you, sir, deserve a like!

  • @luiza177music
    @luiza177music 5 років тому +2

    learned a lot from these videos. Thanks for making them!

  • @talignmen
    @talignmen 6 років тому +1

    Again, nice work.
    I was messing with using find_program to locate cppcheck . The way this works was quite surprising. The find_program function will return VARNAME-NOTFOUND if it can't find the executable specified. Then if() magically treats strings ending in -NOTFOUND as falsy. I also made the mistake of using CMAKE_CXX_CPPCHECK as the variable initially which doesn't work well since it tries to use the CMAKE_CXX_CPPCHECK-NOTFOUND value as the path to the executable if it wasn't found.

    • @vector-of-bool1005
      @vector-of-bool1005  6 років тому

      talignmen I will be covering the find_{path,library,program} commands soon. They're extremely powerful and useful. Understanding the -NOTFOUND falsiness is essential to working with those commands.

  • @ericacm
    @ericacm 6 років тому +3

    Great videos! I'm looking forward to watching more. If possible could you increase the size of the fonts, etc to make things more readable? Thanks!

  • @philg1902
    @philg1902 4 роки тому

    this is great.. welldone!

  • @victoreijkhout7115
    @victoreijkhout7115 2 роки тому

    Variables can be used by themselves only sometimes. In a "message( NOTICE MY_STRING)" it will print the variable name, not the value. Cmake is so logical....

  • @hsaidinsan6345
    @hsaidinsan6345 4 роки тому

    Keep cmaking videos good 👍

  • @andrzejreinke
    @andrzejreinke 6 років тому +1

    awesome!