![](/img/trans.png)
[英]C - How do I make a function that finds the location of a file it has to use just by giving it the filename? (Windows)
[英]How do i perform make file in windows
我想在codeblocks(windows)中使用这个库https://github.com/json-c/json-c与我的C程序,但我不知道如何在Windows上制作makefile / cmake。 我不知道如何在这个特定的例子中做到这一点。 只有“Config.cmake.in”之类的东西。
有任何想法吗?
您没有说明您在Windows上使用的构建环境。 因此,下面简要介绍如何使用cmake 3.14.3和Visual Studio 2015在Windows 10上构建32位版本的json库.CMake支持Visual Studio以及MinGW的几个生成器(请参阅CMake文档)。
之后,您应该能够将构建的库添加到项目中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.