2015-11-30 11:38:12 +08:00
|
|
|
SET(oc_SOURCES oc.c daplex.c dapparse.c dapy.c occlientparams.c occompile.c occurlfunctions.c ocdata.c ocdebug.c ocdump.c ocinternal.c ocnode.c ochttp.c ocrc.c ocread.c ocutil.c ocbytes.c oclist.c ocuri.c oclog.c occurlflags.c xxdr.c)
|
2012-08-04 06:24:29 +08:00
|
|
|
|
2013-06-04 00:42:04 +08:00
|
|
|
add_library(oc2 OBJECT ${oc_SOURCES})
|
2012-08-04 06:24:29 +08:00
|
|
|
|
2013-06-04 00:42:04 +08:00
|
|
|
## Specify files to be distributed by 'make dist'
|
|
|
|
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.sh)
|
|
|
|
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} CMakeLists.txt Makefile.am)
|
|
|
|
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} dap.y)
|
2015-03-03 11:26:39 +08:00
|
|
|
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} ocauth.html)
|
2014-06-12 05:51:31 +08:00
|
|
|
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}")
|