Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

new-sample: Embed ChakraCore using CMake #68

Merged
merged 1 commit into from
Feb 28, 2017
Merged

new-sample: Embed ChakraCore using CMake #68

merged 1 commit into from
Feb 28, 2017

Conversation

obastemur
Copy link
Contributor

Linux / Windows / OSX

Embed ChakraCore via CMake using ChakraCoreEmbed.cmake as shown from CMakeLists.txt

@obastemur
Copy link
Contributor Author

Once this merged, will also make this part of test/native-tests under ChakraCore to make sure keeping ChakraCoreEmbed.cmake up to date.

@obastemur
Copy link
Contributor Author

Sample command line usage:

Windows

> cmake . -DCHAKRACORE_PATH=<ChakraCore Path> -G "Visual Studio 14 2015 Win64"
> msbuild /p:Platform=x64 HelloWorld.sln

> Debug\Sample.exe

Linux/OSX

> cmake . -DCHAKRACORE_PATH=<ChakraCore Path>
> make

> ./Sample

@liminzhu
Copy link
Member

@obastemur good stuff 👍 ! Can you add a readme like this one documenting the proper build & run steps for different platforms?

@obastemur
Copy link
Contributor Author

Added README, @liminzhu Thanks for review.

@obastemur obastemur merged commit 38a8126 into microsoft:master Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants