Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now generate simgrid.jar with libsimgrid and not at all builds.
[simgrid.git] / buildtools / Cmake / src / CMakeMakeExeLib.txt
index c4f85f8..2f076e4 100644 (file)
@@ -131,7 +131,7 @@ if(HAVE_JAVA)
                set(java_src_to_compile "${java_src_to_compile} ${file}")       
        endforeach(file ${JMSG_JAVA_SRC})
 
-       add_custom_target(simgrid.jar   ALL
+       add_custom_command(TARGET simgrid
        COMMAND /bin/sh ${PROJECT_DIRECTORY}/make_simgrid_java.sh
        WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
        )