Git Product home page Git Product logo

Comments (4)

waruqi avatar waruqi commented on June 24, 2024 1

不知道是否是操作系统有关,测试环境的的机器是win10,xmake-vscode version v2.2.2 现在我的现象是,状态栏的build能成功编译,但是xmake侧边栏target是空的,状态栏点default 切换target,提示一个“unexptected token xxxx, is not a valid JSON” 我晚些时候再试试。

检查下描述域有什么 print 输出,或者 一些 warnings 输出,去掉就行

from xmake-vscode.

waruqi avatar waruqi commented on June 24, 2024 1

刚好想请教一个问题,我对lua不熟,想问一下 lua中这里的缩进是有语义的(如python)还是只是为了好看? 假设我有两个target,每个依赖不同的第三方库,add_requires好像只能放在最前面,下面这么,就会报错

add_requires("aa")
target( a)
        set_kind("binary")
        add_files("src/a/*.cpp") 
        add_packages("aa")
     

add_requires("bb")   -- 这里会报错, 只能放到最前面
target( b)
        set_kind("binary")
        add_files("src/b/*.cpp") 
        add_package("bb")

我是想按照target 按需引入 依赖,不知道一般推荐的方法是啥?谢谢

无关问题不要混一起,单独提

from xmake-vscode.

waruqi avatar waruqi commented on June 24, 2024

不是可以的么,我这 ok

image

from xmake-vscode.

keosu avatar keosu commented on June 24, 2024

不知道是否是操作系统有关,测试环境的的机器是win10,xmake-vscode version v2.2.2
现在我的现象是,状态栏的build能成功编译,但是xmake侧边栏target是空的,状态栏点default 切换target,提示一个“unexptected token xxxx, is not a valid JSON”
我晚些时候再试试。

from xmake-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.