-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configured cmake to generate Eclipse project files
- Loading branch information
Jim Lim
committed
Mar 30, 2012
1 parent
c4f0726
commit 7788f18
Showing
50 changed files
with
65 additions
and
36,256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# - Try to find Ant | ||
find_file(ANT_EXEC NAMES ant ant.sh ant.bat PATHS $ENV{ANT_HOME}/bin) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ANT DEFAULT_MSG ANT_EXEC) | ||
|
||
MARK_AS_ADVANCED(ANT_EXEC) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
project(GraphLab) | ||
|
||
subdirs(java_jni) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
project(GraphLab) | ||
|
||
if(ANT_FOUND) | ||
add_custom_target(java_app | ||
COMMAND ant dist | ||
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/my-app/src | ||
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/my-app/bin | ||
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/my-app/lib | ||
COMMAND cp -R lib/ ${CMAKE_CURRENT_BINARY_DIR}/my-app/lib/ | ||
COMMAND cp dist/lib/graphlab.jar ${CMAKE_CURRENT_BINARY_DIR}/my-app/lib/ | ||
COMMAND cp -R eclipse/ ${CMAKE_CURRENT_BINARY_DIR}/my-app/ | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
COMMENT "Generating new Eclipse project") | ||
else() | ||
message(STATUS | ||
"Ant not detected. You will not be able to generate Eclipse project files from CMake.") | ||
endif() | ||
|
||
add_dependencies(java_app graphlabjni) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> | ||
<classpathentry kind="lib" path="lib/log4j-1.2.16.jar"/> | ||
<classpathentry kind="lib" path="lib/junit-4.10.jar"/> | ||
<classpathentry kind="lib" path="lib/jgrapht-jdk1.6.jar"/> | ||
<classpathentry kind="lib" path="lib/arpack_combo-0.1.jar"/> | ||
<classpathentry kind="lib" path="lib/mtj-0.9.14.jar"/> | ||
<classpathentry kind="lib" path="lib/netlib-java-0.9.3.jar"/> | ||
<classpathentry kind="lib" path="lib/commons-cli-1.2.jar"/> | ||
<classpathentry kind="lib" path="lib/graphlab.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>GraphLab-App</name> | ||
<comment>Manually adapted by Jim Lim.</comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
157 changes: 0 additions & 157 deletions
157
extapis/java_jni/old/demo/scheduling/ColoredSchedulerDemo.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.