Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
020955eb
Commit
020955eb
authored
15 years ago
by
Benoit Neil
Browse files
Options
Downloads
Patches
Plain Diff
Added special define for tests that directly include libcurl sources.
parent
3733fa02
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/curl/curl.h
+5
-0
5 additions, 0 deletions
include/curl/curl.h
tests/server/CMakeLists.txt
+1
-1
1 addition, 1 deletion
tests/server/CMakeLists.txt
with
6 additions
and
1 deletion
include/curl/curl.h
+
5
−
0
View file @
020955eb
...
...
@@ -93,6 +93,10 @@ extern "C" {
typedef
void
CURL
;
#ifdef USES_DIRECT_CURL_UTILITIES
#define CURL_EXTERN
#else
/* USES_DIRECT_CURL_UTILITIES */
/*
* Decorate exportable functions for Win32 and Symbian OS DLL linking.
* This avoids using a .def file for building libcurl.dll.
...
...
@@ -118,6 +122,7 @@ typedef void CURL;
#define CURL_EXTERN
#endif
#endif
#endif
/* USES_DIRECT_CURL_UTILITIES */
#ifndef curl_socket_typedef
/* socket typedef */
...
...
This diff is collapsed.
Click to expand it.
tests/server/CMakeLists.txt
+
1
−
1
View file @
020955eb
...
...
@@ -12,7 +12,7 @@ FUNCTION(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
SETUP_CURL_DEPENDENCIES
(
${
TEST_NAME
}
)
#TARGET_LINK_LIBRARIES( ${TEST_NAME} libcurl )
#
SET_TARGET_PROPERTIES(${TEST_NAME} PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME}
)
SET_TARGET_PROPERTIES
(
${
TEST_NAME
}
PROPERTIES COMPILE_DEFINITIONS
USES_DIRECT_CURL_UTILITIES
)
#
${UPPER_TEST_NAME}
# Add the postfix to the executable since it is not added automatically as for modules and shared libraries
SET_TARGET_PROPERTIES
(
${
TEST_NAME
}
PROPERTIES DEBUG_POSTFIX
"
${
CMAKE_DEBUG_POSTFIX
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment