Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
60b2825e
Commit
60b2825e
authored
Dec 18, 2013
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build and test for windows
parent
1359abdd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
461 additions
and
4 deletions
+461
-4
build.xml
build.xml
+45
-3
Makefile
build/Makefile
+1
-1
MQTTTest_v2.c
test/MQTTTest_v2.c
+415
-0
No files found.
build.xml
View file @
60b2825e
...
@@ -141,9 +141,51 @@
...
@@ -141,9 +141,51 @@
</then>
</then>
<elseif>
<elseif>
<os
family=
"windows"
/>
<os
family=
"windows"
/>
<then>
<then>
<property
name=
"clflags.so"
value=
"/D WIN32 /D _UNICODE /D UNICODE /D _CRT_SECURE_NO_WARNINGS
</then>
/nologo /c /O2 /W3 /Fd /MD /TC"
/>
<property
name=
"ldflags.so"
value=
"/dll /nologo /machine:x86 /manifest"
/>
<mkdir
dir=
"${output.folder}"
/>
<delete>
<fileset
dir=
"${output.folder}"
includes=
"*.obj"
/>
</delete>
<!-- non-SSL, synchronous library -->
<property
name=
"output.filename"
value=
"${output.folder}/${libname}.dll"
/>
<exec
executable=
"cl"
failonerror=
"true"
>
<arg
line=
"${clflags.so} /I src /Fo${output.folder}/ ${sync.source.files}"
/>
</exec>
<exec
executable=
"link"
failonerror=
"true"
>
<arg
line=
"${ldflags.so} /out:${output.filename} ws2_32.lib ${output.folder}/*.obj"
/>
</exec>
<exec
executable=
"mt"
failonerror=
"true"
>
<arg
line=
"-manifest ${output.folder}/{libname}.dll.manifest -outputresource:${output.filename}\;2"
/>
</exec>
<delete>
<fileset
dir=
"${output.folder}"
includes=
"*.obj"
/>
</delete>
<!-- non-SSL, asynchronous library -->
<property
name=
"output.async.filename"
value=
"${output.folder}/${libname.async}.dll"
/>
<exec
executable=
"cl"
failonerror=
"true"
>
<arg
line=
"${clflags.so} /I src /Fo${output.folder}/ ${async.source.files}"
/>
</exec>
<exec
executable=
"link"
failonerror=
"true"
>
<arg
line=
"${ldflags.so} /out:${output.async.filename} ws2_32.lib ${output.folder}/*.obj"
/>
</exec>
<exec
executable=
"mt"
failonerror=
"true"
>
<arg
line=
"-manifest ${output.folder}/{libname.async}.dll.manifest -outputresource:${output.async.filename}\;2"
/>
</exec>
<delete>
<fileset
dir=
"${output.folder}"
includes=
"*.obj"
/>
</delete>
</then>
</elseif>
</elseif>
</if>
</if>
</target>
</target>
...
...
build/Makefile
View file @
60b2825e
...
@@ -418,7 +418,7 @@ $(MQTTDLL_S): ${SOURCE_FILES_S} ${HEADERS}
...
@@ -418,7 +418,7 @@ $(MQTTDLL_S): ${SOURCE_FILES_S} ${HEADERS}
$(LD)
$(LIBLDFLAGS_S)
*
.obj /out:
$(MQTTDLL_S)
$(LD)
$(LIBLDFLAGS_S)
*
.obj /out:
$(MQTTDLL_S)
mt
-manifest
windows_ia32/mqttv3cs.dll.manifest
-outputresource
:
$(MQTTDLL_S)
\;
2
mt
-manifest
windows_ia32/mqttv3cs.dll.manifest
-outputresource
:
$(MQTTDLL_S)
\;
2
$(MQTTDLL_AS)
:
${SOURCE_FILES} ${HEADERS}
$(MQTTDLL_AS)
:
${SOURCE_FILES
_AS
} ${HEADERS}
-
rm
-f
*
.obj
-
rm
-f
*
.obj
${
CC
}
${
CPPFLAGS
}
${
CFLAGS
}
${
CPPFLAGS_S
}
/I
${
MQTTCLIENT_DIR
}
/I
${
MQTTCLIENT_DIR
}
/.. /Fo
${
SOURCE_FILES_AS
}
${
CC
}
${
CPPFLAGS
}
${
CFLAGS
}
${
CPPFLAGS_S
}
/I
${
MQTTCLIENT_DIR
}
/I
${
MQTTCLIENT_DIR
}
/.. /Fo
${
SOURCE_FILES_AS
}
$(LD)
$(LIBLDFLAGS_S)
*
.obj /out:
$(MQTTDLL_AS)
$(LD)
$(LIBLDFLAGS_S)
*
.obj /out:
$(MQTTDLL_AS)
...
...
test/MQTTTest_v2.c
0 → 100644
View file @
60b2825e
This diff is collapsed.
Click to expand it.
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