Hi Muhammad,

I shared the zip file on google drive. Please let me know any issues you
have. Double-click on a bat file to start the example, but watch out, not
all bat files are Wt examples (this has to be cleaned up).

I tested this on a small project; this is the CMakeLists.txt I used:

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(hello)

SET(WT_PREFIX "c:/tmp/winstng/install")

#FindPackage(Wt REQUIRED) # does not work (yet)
SET(Wt_INCLUDE_DIRECTORIES "${WT_PREFIX}/include")
SET(Wt_BOOST_LIB_DIRECTORIES "${WT_PREFIX}/lib")
SET(Wt_LIBRARIES
    debug "${WT_PREFIX}/lib/wtd.lib"
    optimized "${WT_PREFIX}/lib/wt.lib"
)
SET(Wt_HTTP_LIBRARIES
    debug "${WT_PREFIX}/lib/wthttpd.lib"
    optimized "${WT_PREFIX}/lib/wthttp.lib"
)

INCLUDE_DIRECTORIES(${Wt_INCLUDE_DIRECTORIES})
# to find necessary boost libraries
LINK_DIRECTORIES(${Wt_BOOST_LIB_DIRECTORIES})

ADD_EXECUTABLE(hello
    hello.C
)

IF(MSVC)
  SET_TARGET_PROPERTIES(hello PROPERTIES COMPILE_FLAGS "/wd4251 /wd4275")
ENDIF(MSVC)

TARGET_LINK_LIBRARIES(hello
    ${Wt_LIBRARIES}
    ${Wt_HTTP_LIBRARIES}
)



2013/9/3 Muhammad Bashir Al-Noimi <mbno...@gmail.com>

> On 09/03/2013 11:49 AM, Wim Dumon wrote:
> > I made a build (msvs), but there's still something wrong with some
> > .bat files for running the examples. The devil is in the details.
> As soon as you're ready to upload the binaries please notify me to start
> testing process.
>
> --
> Best Regards,
> Muhammad Bashir Al-Noimi
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to