Skip to content

Commit

Permalink
[meck] add meck to the CMake build files
Browse files Browse the repository at this point in the history
Change-Id: I6712fe909b983ebd167bc2a6ddd21d2e9f3bfef9
Reviewed-on: http://review.couchbase.org/78678
Tested-by: Dave Finlay <dave.finlay@couchbase.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
  • Loading branch information
dave-finlay authored and vzasade committed Jun 5, 2017
1 parent 4d2b568 commit e6cce99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -130,10 +130,10 @@ ADD_CUSTOM_TARGET (ns_distclean)
ADD_DEPENDENCIES (ns_distclean realclean ns_dataclean)

ADD_SUBDIRECTORY (deps)
REBAR (TARGET ns_server NOCLEAN DEPENDS ns_cfg ale triq)
REBAR (TARGET ns_server NOCLEAN DEPENDS ns_cfg ale triq meck)

ADD_CUSTOM_TARGET (erlang_deps
DEPENDS gen_smtp ale ns_babysitter ns_ssl_proxy ns_couchdb triq)
DEPENDS gen_smtp ale ns_babysitter ns_ssl_proxy ns_couchdb triq meck)

ADD_CUSTOM_TARGET (ns_server_all DEPENDS ns_server erlang_deps)

Expand Down
1 change: 1 addition & 0 deletions deps/CMakeLists.txt
Expand Up @@ -5,3 +5,4 @@ ADD_SUBDIRECTORY (ns_ssl_proxy)
ADD_SUBDIRECTORY (ns_couchdb)
ADD_SUBDIRECTORY (gocode)
ADD_SUBDIRECTORY (triq)
ADD_SUBDIRECTORY (meck)
3 changes: 3 additions & 0 deletions deps/meck/CMakeLists.txt
@@ -0,0 +1,3 @@
REBAR (TARGET meck)
ADD_DEPENDENCIES (ns_realclean meck-clean)
INSTALL (DIRECTORY ebin DESTINATION "${INST_LIBDIR}/meck")

0 comments on commit e6cce99

Please sign in to comment.