Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Linking SFML with VsCode  (Read 2412 times)

0 Members and 1 Guest are viewing this topic.

ITZBRAM

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Linking SFML with VsCode
« on: March 09, 2018, 06:55:42 pm »
Could someone give their Tasks.json code to link SFML with VsCode. On google it comes up with tasks.json version 0.1.0, which is no longer supported. Thank you.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Linking SFML with VsCode
« Reply #1 on: March 10, 2018, 10:16:34 am »
By just copy-pasting all the time you won't learn how things work. If you decide to use a specific editor or IDE you should also invest some time understanding how the tooling works. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Kane_Madness

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Linking SFML with VsCode
« Reply #2 on: March 16, 2018, 11:33:16 pm »
I use VS Code as well. I don't use the built in functionality of the compiler linking through the tasks.json file. I use a batch file to compile (I just figured out the way to do it correctly). My suggestion would be to go that route (its simple and keeps my vs code tasks file minimal). My usual work flow is to keep a command window open on the side. Call a compile batch file when I want to compile. Not a direct answer to the question but hopefully its of some utility.

-Regards,
Kane