Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belr
Commits
9e314fe7
Commit
9e314fe7
authored
Mar 09, 2016
by
Gautier Pelloux-Prayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mv tests -> tools
parent
51a31215
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
45 additions
and
4 deletions
+45
-4
CMakeLists.txt
CMakeLists.txt
+2
-1
Makefile.am
Makefile.am
+1
-1
tools/CMakeLists.txt
tools/CMakeLists.txt
+40
-0
tools/Makefile.am
tools/Makefile.am
+2
-2
tools/belr-demo.cc
tools/belr-demo.cc
+0
-0
tools/belr-parse.cc
tools/belr-parse.cc
+0
-0
tools/register.txt
tools/register.txt
+0
-0
tools/response.txt
tools/response.txt
+0
-0
tools/sipgrammar.txt
tools/sipgrammar.txt
+0
-0
tools/vcardgrammar.txt
tools/vcardgrammar.txt
+0
-0
tools/vcardsample.txt
tools/vcardsample.txt
+0
-0
No files found.
CMakeLists.txt
View file @
9e314fe7
...
...
@@ -105,6 +105,7 @@ endif()
add_subdirectory
(
include
)
add_subdirectory
(
src
)
add_subdirectory
(
tools
)
include
(
CMakePackageConfigHelpers
)
export
(
EXPORT
${
EXPORT_TARGETS_NAME
}
Targets
...
...
@@ -122,4 +123,4 @@ install(EXPORT ${EXPORT_TARGETS_NAME}Targets
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/BelrConfig.cmake"
DESTINATION
${
ConfigPackageLocation
}
)
\ No newline at end of file
)
Makefile.am
View file @
9e314fe7
SUBDIRS
=
src
tests
include
SUBDIRS
=
src include
tools
tools/CMakeLists.txt
0 → 100644
View file @
9e314fe7
############################################################################
# CMakeLists.txt
# Copyright (C) 2015 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
foreach
(
EXECTUABLE belr-parse belr-demo
)
set
(
SOURCE_FILES_CXX
${
EXECTUABLE
}
.cc
)
apply_compile_flags
(
SOURCE_FILES_CXX
"CPP"
"CXX"
)
add_executable
(
${
EXECTUABLE
}
${
SOURCE_FILES_CXX
}
)
set_target_properties
(
${
EXECTUABLE
}
PROPERTIES LINKER_LANGUAGE CXX
)
target_link_libraries
(
${
EXECTUABLE
}
belr
)
if
(
APPLE
)
set_target_properties
(
${
EXECTUABLE
}
PROPERTIES LINK_FLAGS
"-stdlib=libc++"
)
endif
()
endforeach
()
install
(
TARGETS belr-parse
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
t
est
s/Makefile.am
→
t
ool
s/Makefile.am
View file @
9e314fe7
bin_PROGRAMS
=
belr-parse
noinst_PROGRAMS
=
belr-demo
belr_parse_SOURCES
=
belrparse.cc
belr_parse_SOURCES
=
belr
-
parse.cc
belr_parse_LDADD
=
$(top_builddir)
/src/libbelr.la
belr_demo_SOURCES
=
belrdemo.cc
belr_demo_SOURCES
=
belr
-
demo.cc
belr_demo_LDADD
=
$(top_builddir)
/src/libbelr.la
...
...
t
est
s/belrdemo.cc
→
t
ool
s/belr
-
demo.cc
View file @
9e314fe7
File moved
t
est
s/belrparse.cc
→
t
ool
s/belr
-
parse.cc
View file @
9e314fe7
File moved
t
est
s/register.txt
→
t
ool
s/register.txt
View file @
9e314fe7
File moved
t
est
s/response.txt
→
t
ool
s/response.txt
View file @
9e314fe7
File moved
t
est
s/sipgrammar.txt
→
t
ool
s/sipgrammar.txt
View file @
9e314fe7
File moved
t
est
s/vcardgrammar.txt
→
t
ool
s/vcardgrammar.txt
View file @
9e314fe7
File moved
t
est
s/vcardsample.txt
→
t
ool
s/vcardsample.txt
View file @
9e314fe7
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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