Thanks for the speedy reply!

I haven't used CMake before though (except with Wt); what are the contents of:

• CMakeLists.txt
• FindWt.cmake

Thanks for the info,

Alec Taylor

On 10/1/11, Pau Garcia i Quiles <[email protected]> wrote:
> Hi,
>
> It's no different from a standard CMake C++ project.
>
> The directory structure I use for simple cases is:
>
> CMakeLists.txt
> hello.cpp
> cmake/FindWt.cmake
> cmake/FindSomethingElse.cmake
>
> Then from the source dir:
>
> $ mkdir build
> $ cd build
> $ cmake ..
>
> For more complex projects, instead of putting the source files directly into
> the project directory, I have one or more directories for the sources:
>
> CMakeLists.txt
> README
> LICENSE
> cmake/FindWt.cmake
> cmake/FindSomethingElse.cmake
> src/file1.cpp
> src/file1.h
> src/main.cpp
> src/plugins/virtualization/virt.cpp
> src/plugins/virtualization/virt.h
> src/plugins/vnc/vnc.cpp
> src/plugins/vnc/vnc.h
>
>
>
> On Fri, Sep 30, 2011 at 6:12 PM, Alec Taylor <[email protected]> wrote:
>
>> Good morning,
>>
>> I'm creating my own project in Wt (finally moving off the example
>> project) but am having a little trouble working out how to get
>> everything working with the dependencies & all.
>>
>> Just spent the last length of time configuring Visual Studio 2010,
>> when I considered what people not running VS would use...
>>
>> Can you give me a tutorial on how to create a project with a single
>> .cpp file (hello.wt), that can uses CMake to compile to a project dir?
>>
>> Thanks for all suggestions,
>>
>> Alec Taylor
>>
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2dcopy2
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
>
> --
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to