Home > Blockchain >  CMake add_executable() failing to make executable and 3rd party library failing to untar
CMake add_executable() failing to make executable and 3rd party library failing to untar

Time:04-28

Problem Background

I am trying to incorporate UnitTest into my linux-based C 17 project template. I have done this on windows pretty easily, but I am running into major issues on linux for some reason.

I used Cmake 3.21 on Windows and I am currently using CMake 3.17.5 on Linux.

I downloaded the UnitTest source code from the Fix

CodePudding user response:

Somehow you set --target ExecutableName, that limits the build to a single target, the main executable ExecutableName. Try to select another target, or let it unset.

  • Related