Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
597eaa7e
Commit
597eaa7e
authored
Apr 26, 2021
by
Shervin Nourbakhsh
Browse files
fix compiling with maven the entire project from cameo/ dir
parent
817a94bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
597eaa7e
...
...
@@ -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
...
...
cameo-server-jzmq/CMakeLists.txt
View file @
597eaa7e
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment