Skip to content

Commit 47b8da7

Browse files
committed
ifconfig sample
ifconfig sample (contribution by Philip Prindeville)
1 parent 5016391 commit 47b8da7

18 files changed

Lines changed: 3710 additions & 120 deletions
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
set(SAMPLE_NAME "ifconfig")
2+
3+
set(LOCAL_SRCS "")
4+
aux_source_directory(src LOCAL_SRCS)
5+
6+
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
7+
#set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
8+
target_link_libraries( ${SAMPLE_NAME} PocoNet PocoUtil PocoJSON PocoXML PocoFoundation )

‎Net/samples/ifconfig/Makefile‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Makefile
3+
#
4+
# $Id: //poco/Main/template/sample.make#4 $
5+
#
6+
# Makefile for Poco download
7+
#
8+
9+
include $(POCO_BASE)/build/rules/global
10+
11+
objects = ifconfig
12+
13+
target = ifconfig
14+
target_version = 1
15+
target_libs = PocoNet PocoFoundation
16+
17+
include $(POCO_BASE)/build/rules/exec
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
vc.project.guid = ${vc.project.guidFromName}
2+
vc.project.name = ${vc.project.baseName}
3+
vc.project.target = ${vc.project.name}
4+
vc.project.type = executable
5+
vc.project.pocobase = ..\\..\\..
6+
vc.project.platforms = Win32, x64, WinCE
7+
vc.project.configurations = debug_shared, release_shared, debug_static_mt, release_static_mt, debug_static_md, release_static_md
8+
vc.project.prototype = ${vc.project.name}_vs90.vcproj
9+
vc.project.compiler.include = ..\\..\\..\\Foundation\\include;..\\..\\..\\XML\\include;..\\..\\..\\Util\\include;..\\..\\..\\Net\\include
10+
vc.project.linker.dependencies.Win32 = ws2_32.lib iphlpapi.lib
11+
vc.project.linker.dependencies.x64 = ws2_32.lib iphlpapi.lib
12+
vc.project.linker.dependencies.WinCE = ws2.lib iphlpapi.lib

0 commit comments

Comments
 (0)