Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problem with TESuit in VS Code. #6

Open
GabrielKim opened this issue Sep 25, 2019 · 4 comments
Open

Build problem with TESuit in VS Code. #6

GabrielKim opened this issue Sep 25, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@GabrielKim
Copy link
Collaborator

GabrielKim commented Sep 25, 2019

TESuit has not yet tested CMake build in VS Code.

Basic works :

  1. Judging whether or not it works well when building CMake in VS Code.
  2. Create an issue if It is a problem.
@GabrielKim GabrielKim added the enhancement New feature or request label Sep 25, 2019
@StillChun
Copy link

StillChun commented Sep 25, 2019

I tested CMake build in VS Code and it works.

I installed 3 extensions - 'C/C++', 'CMake', 'CMake Tools'

Then I changed Cmake Path to the path where I installed cmake.
(I got an error with 'sudo apt-get install cmake' so I got cmake installation file at https://cmake.org/download/ )

In VS Code, default build directory is ${workspaceRoot}/build} so I should modify it to ${workspaceRoot}/cmake-build-debug}

I can modify Cmake Path and build directory at CMake Tools - Configure Extension Settings.

Screenshot from 2019-09-25 17-28-28

I didn't test to arduino or other avr.

@HY-PARK
Copy link

HY-PARK commented Sep 26, 2019

@StillChun
Can you share more detail build process in vscode
Do you write a extra configuration build task file(task.json)? or another way?

@StillChun
Copy link

StillChun commented Sep 26, 2019

@HY-PARK
I used 'CMake Tools' setting page like this
Screenshot from 2019-09-26 09-27-07

After I edited setting page, /home/{username}/.config/Code/User/setting.json file changed like this

{
"cmake.configureOnOpen": true,
"cmake.cmakePath": "/opt/cmake/bin/cmake",
"cmake.buildDirectory": "${workspaceRoot}/cmake-build-debug"
}

I will share more details in this afternoon.

@StillChun
Copy link

OS : Ubuntu 16.04.06 LTS
kernel : 4.15.0-45-generic
VScode : 1.38

I write the way of build TESuit in VS Code.

https://docs.google.com/presentation/d/1r_CWFcf2Ripurr3hvdT0bqsnyGOvx0pujEpWYuGsYeE/edit?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants