qPCR4vir / nana-demo

demos and tests for Nana C++ GUI library
https://github.com/cnjinhao/nana
Boost Software License 1.0
68 stars 24 forks source link

Improved compilation under Linux. #5

Closed CarlosNihelton closed 8 years ago

CarlosNihelton commented 8 years ago

Added a CMake file to build some examples. Need to be improved. Corrected widget_show2.cpp in order to compile in Linux. Commented one include directive on file_explorer.cpp file in order to compile under Linux.

CarlosNihelton commented 8 years ago

I'm doing some experiments with Nana and I had a surprise while compiling widget_show2.cpp. Just an issue from the example widget_show.cpp code.

qPCR4vir commented 8 years ago

Thank! Good to known that it works in Linux. I have no way of testing that. I'm learning to use CMake, as you can see here, where I wanted to add all the demos with a a foreach, but don't works. It works now for a few examples in CLion with CMake and gcc 5.1 (MinGW). This version will be moved to the branch dev_nana_in_examples, while the master branch will use a sort of install ( EXPORT ) to link to the lib generate in the nana project.