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

support visual studio #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

support visual studio #1

wants to merge 1 commit into from

Conversation

fingera
Copy link

@fingera fingera commented Oct 18, 2018

make windows unit test work?

mkdir build && cd build
cmake -G "Visual Studio 15 2017 Win64" ..
cmake --build . --config Release
set cgo CFLAGS LDFLAGS

@fingera
Copy link
Author

fingera commented Oct 18, 2018

可以在windows系统vscode中直接跑COPERNICUS的 go test

@fffreedom
Copy link

Thanks for your commitment! @fingera . We will verify it soon.

@fingera
Copy link
Author

fingera commented Oct 19, 2018

默认cmake选项已经调整成支持copernicus的动态库了 因为不知道cgo在windows是用什么编译 动态库的c不会出现链接问题
只需要将dll拷贝到PATH中或者go\bin

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

Successfully merging this pull request may close these issues.

2 participants