Skip to content

Commit 738a134

Browse files
committed
CBD-1895: Add tlm for standalone cbq build
Change-Id: Ia8f6ac4a99e57594cccdcdb062e9d86e119a959f Reviewed-on: http://review.couchbase.org/67537 Reviewed-by: Chris Hillery <[email protected]> Tested-by: buildbot <[email protected]>
1 parent 6ce9d9e commit 738a134

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CMakeLists-cbq.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# CMakeLists for standalone cbq project
2+
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
3+
4+
IF (NOT(${CMAKE_MAJOR_VERSION} LESS 3))
5+
CMAKE_POLICY(SET CMP0026 OLD)
6+
ENDIF (NOT(${CMAKE_MAJOR_VERSION} LESS 3))
7+
8+
PROJECT (cbq NONE)
9+
SET (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/tlm/cmake/Modules/")
10+
ADD_CUSTOM_TARGET (realclean
11+
COMMAND "${CMAKE_COMMAND}" --build "${CMAKE_BINARY_DIR}" --target clean)
12+
13+
SET (CBQ_ONLY True)
14+
SET (GODEPSDIR "${CMAKE_CURRENT_SOURCE_DIR}/godeps")
15+
ADD_SUBDIRECTORY (goproj/src/github.com/couchbase/query)
16+

0 commit comments

Comments
 (0)