importC and cmake

zjh fqbqrr at 163.com
Thu Sep 29 23:54:03 UTC 2022


On Thursday, 29 September 2022 at 20:56:50 UTC, Chris Piker wrote:

> ```lua
> set_languages("c99")
> ```


Try:

`add_cxflags` or `add_files("src/*.c")` or
`set_languages("c")` or
`set_languages("c11")` .

or ,use `-l` to set language.

```cpp
xmake create -l c -t static test
```





More information about the Digitalmars-d-learn mailing list