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

cmake.default.cacheEntries and cmake.build.targetDependencies not working #64

Open
patlefort opened this issue May 17, 2020 · 0 comments

Comments

@patlefort
Copy link

patlefort commented May 17, 2020

I couldn't make either settings work from either the user or workspace level. Example:

"cmake.default.cacheEntries": [
	{
		"name": "CMAKE_CXX_FLAGS_RELEASE",
		"type": "STRING",
		"value": "-O3 -DNDEBUG"
	},
	{
		"name": "CMAKE_INSTALL_PREFIX", 
		"type": "STRING", 
		"value": "/home/elrick/Software/PhotoRT"
	},
	{
		"name": "CMAKE_PREFIX_PATH",
		"type": "STRING",
		"value": "/home/elrick/Software/PhotoRT"
	}
],
"cmake.build.targetDependencies": [
	{
		"project": "PhotoRT_Root",
		"dependencies": [{ "project": "PatLib" }]
	},
	{
		"project": "PhotortTest",
		"dependencies": [{ "project": "PhotoRT_Root" }]
	}
]

inside the settings.json, where "Edit in settings.json" link points to. I tried deleting the build directory and restarting vscode.

@patlefort patlefort changed the title cmake.default.cacheEntries not working cmake.default.cacheEntries and cmake.build.targetDependencies not working Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant