CMake - Creating a static library

前端 未结 3 958
猫巷女王i
猫巷女王i 2020-12-24 07:05

I have two files in my project called Test4:

Structure.h Structure.c

I want to create a static library that can be loa

3条回答
  •  臣服心动
    2020-12-24 07:25

    I had same issue. What I missed is the location where build files are created.

    CLion makes libraries or exectables under cmake-build-* directory. IfBuild, Execution, Deployment > CMake > Configuration is Debug, the lib file (.a) is created under cmake-build-debug.

提交回复
热议问题