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

Getting "not implemented" when running translate-cmake #3

Open
liampace opened this issue Sep 26, 2024 · 2 comments
Open

Getting "not implemented" when running translate-cmake #3

liampace opened this issue Sep 26, 2024 · 2 comments

Comments

@liampace
Copy link

liampace commented Sep 26, 2024

I have a project where this repository and a CMake project (ex: glfw) are submodules in my repo.
When trying to run the action 'translate-cmake' on this bare bones script:

local cmake_premake = require("vendor/cmake_premake")
workspace "Workspace"
	configurations {"Debug", "Release"}
	architecture "x86_64"
	cmake_premake.include_proj("vendor/glfw", "glfw")

I get the following console output

Running action 'translate-cmake'...
Starting translate-cmake
not implemented

File structure

repo_folder
|_____premake5.lua
|_____vendor
|_____|_____cmake-premake
|_____|_____glfw
@liampace
Copy link
Author

UPDATE:
Upon further inspection it seems that the error is coming from utils/path.lua

function path.to_windows_path(self, is_absolute)
  print("not implemented")
  local os = require("os")
  os.exit(22)
end

Is windows currently unsupported? If so the documentation should be changed to reflect that.

@SanjeetBalamurugan
Copy link
Owner

Is windows currently unsupported?
Yes, I will add support for windows in future.

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

2 participants