The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 597eaa7e authored by Shervin Nourbakhsh's avatar Shervin Nourbakhsh
Browse files

fix compiling with maven the entire project from cameo/ dir

parent 817a94bf
......@@ -31,9 +31,9 @@ endmacro()
#dependencies
foreach(package cameo-com-jzmq )
add_subdirectory(cameo-com/${package})
endforeach()
#foreach(package cameo-com-jzmq )
# add_subdirectory(cameo-com/${package})
#endforeach()
foreach(package cameo-server-jzmq cameo-console-jzmq
......
......@@ -21,10 +21,11 @@ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/installed/${JAVA_INSTALL_DIR})
add_custom_command(
OUTPUT ${PROJECT_JAR}
COMMAND mvn install
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
COMMAND mvn clean install
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../
VERBATIM
)
add_custom_target(server
ALL
DEPENDS ${PROJECT_JAR}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment