-
Notifications
You must be signed in to change notification settings - Fork 16
Contributing
Daniil Tiganov edited this page Feb 18, 2020
·
6 revisions
- Follow the instructions in the Readme.
- Open up
swan/
in IntelliJ IDEA. - Select
Import Module from Gradle
- This should appear in the bottom right corner of your IDE. - Select
Use auto-import
, "Use Gradle 'wrapper' task configuration, and the Gradle JVM should be
Use Project JDK`. Press OK.
Note: If you change any C++ code, the IDE will not rebuild the shared library as it does not recognize C++ source. You will have to manually rebuild using ./gradlew assemble
.
- Open
swan/ca.maple.swan.translator/
in CLion. - Uncomment the path in
swan/ca.maple.swan.translator/CMakeLists.txt
under the comment# SET THIS FOR C++ IDE
.
When you change the C++ code, in any IDE, you must recompile it using ./gradlew assemble
in order for SWAN to use the updated shared library.