Commit 45273f2535a8e63b4948e3f967f014b4d0f61bd6
1 parent
a7dec5a5
now installing examples
Showing
2 changed files
with
3 additions
and
2 deletions
app/examples/CMakeLists.txt
| @@ -4,5 +4,6 @@ foreach(EXAMPLE ${EXAMPLES}) | @@ -4,5 +4,6 @@ foreach(EXAMPLE ${EXAMPLES}) | ||
| 4 | add_executable(${EXAMPLE_BASENAME} ${EXAMPLE}) | 4 | add_executable(${EXAMPLE_BASENAME} ${EXAMPLE}) |
| 5 | qt5_use_modules(${EXAMPLE_BASENAME} ${QT_DEPENDENCIES}) | 5 | qt5_use_modules(${EXAMPLE_BASENAME} ${QT_DEPENDENCIES}) |
| 6 | target_link_libraries(${EXAMPLE_BASENAME} openbr ${BR_THIRDPARTY_LIBS}) | 6 | target_link_libraries(${EXAMPLE_BASENAME} openbr ${BR_THIRDPARTY_LIBS}) |
| 7 | + install(TARGETS ${EXAMPLE_BASENAME} RUNTIME DESTINATION bin) | ||
| 7 | add_test("${EXAMPLE_BASENAME}_test" ${EXAMPLE_BASENAME}) | 8 | add_test("${EXAMPLE_BASENAME}_test" ${EXAMPLE_BASENAME}) |
| 8 | endforeach() | 9 | endforeach() |
sdk/openbr_export.cpp
| @@ -181,11 +181,11 @@ $ br -help | @@ -181,11 +181,11 @@ $ br -help | ||
| 181 | * \endcode | 181 | * \endcode |
| 182 | * -# <a href="http://releases.qt-project.org/qt5/5.0.1/single/qt-everywhere-opensource-src-5.0.1.zip">Download Qt 5.0.1</a> and unzip. | 182 | * -# <a href="http://releases.qt-project.org/qt5/5.0.1/single/qt-everywhere-opensource-src-5.0.1.zip">Download Qt 5.0.1</a> and unzip. |
| 183 | * -# Install Perl/Python/Ruby dependencies as explained in the "Windows" section of "README". Make sure they are added to "path" when given the option during installation. | 183 | * -# Install Perl/Python/Ruby dependencies as explained in the "Windows" section of "README". Make sure they are added to "path" when given the option during installation. |
| 184 | - * -# <a href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812">Download Direct X Software Developement Kit</a> and install. | 184 | + * -# <a href="http://www.microsoft.com/en-us/download/confirmation.aspx?id=6812">Download Direct X Software Developement Kit</a> and install. You may also need to install the latest OpenGL drivers from your graphics card manufacturer. |
| 185 | * -# From the MinGW-w64 Command Prompt: | 185 | * -# From the MinGW-w64 Command Prompt: |
| 186 | * \code | 186 | * \code |
| 187 | * $ cd qt-everywhere-opensource-src-5.0.1 | 187 | * $ cd qt-everywhere-opensource-src-5.0.1 |
| 188 | - * $ configure -prefix C:\Qt\5.0.1\mingw64 -opensource -confirm-license -nomake examples -nomake tests | 188 | + * $ configure -prefix C:\Qt\5.0.1\mingw64 -opensource -confirm-license -nomake examples -nomake tests -opengl desktop |
| 189 | * $ mingw32-make | 189 | * $ mingw32-make |
| 190 | * $ mingw32-make install | 190 | * $ mingw32-make install |
| 191 | * $ cd .. | 191 | * $ cd .. |