Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
b871e25f
Commit
b871e25f
authored
Jan 16, 2019
by
hwaan2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update examples, tests
parent
c2caf7f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/CMakeLists.txt
examples/CMakeLists.txt
+1
-1
tests/CMakeLists.txt
tests/CMakeLists.txt
+1
-1
No files found.
examples/CMakeLists.txt
View file @
b871e25f
...
...
@@ -3,7 +3,7 @@ function(pistache_example example_name)
set
(
EXAMPLE_SOURCE
${
example_name
}
.cc
)
add_executable
(
${
EXAMPLE_EXECUTABLE
}
${
EXAMPLE_SOURCE
}
)
target_link_libraries
(
${
EXAMPLE_EXECUTABLE
}
pistache
)
target_link_libraries
(
${
EXAMPLE_EXECUTABLE
}
pistache
_static
)
endfunction
()
pistache_example
(
http_server
)
...
...
tests/CMakeLists.txt
View file @
b871e25f
...
...
@@ -3,7 +3,7 @@ function(pistache_test test_name)
set
(
TEST_SOURCE
${
test_name
}
.cc
)
add_executable
(
${
TEST_EXECUTABLE
}
${
TEST_SOURCE
}
)
target_link_libraries
(
${
TEST_EXECUTABLE
}
gtest gtest_main pistache curl pthread
)
target_link_libraries
(
${
TEST_EXECUTABLE
}
gtest gtest_main pistache
_static
curl pthread
)
add_test
(
${
test_name
}
${
TEST_EXECUTABLE
}
)
endfunction
()
...
...
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