Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qpcr4vir/nana_helloworld
A full Hello World nana example
https://github.com/qpcr4vir/nana_helloworld
Last synced: about 9 hours ago
JSON representation
A full Hello World nana example
- Host: GitHub
- URL: https://github.com/qpcr4vir/nana_helloworld
- Owner: qPCR4vir
- License: bsl-1.0
- Created: 2020-05-03T10:31:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T11:35:58.000Z (over 4 years ago)
- Last Synced: 2024-03-21T17:59:41.219Z (8 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nana_helloworld
A full Hello World nana example.
I added the cmake options:```
-DCMAKE_INSTALL_PREFIX="../"
-DNANA_CMAKE_NANA_FILESYSTEM_FORCE=OFF
-DNANA_CMAKE_INSTALL_INCLUDES=OFF
-DNANA_CMAKE_ENABLE_JPEG=ON
-DNANA_CMAKE_ENABLE_PNG=ON
-DJPEG_HAVE_BOOLEAN=ON
-DNANA_CMAKE_AUTOMATIC_GUI_TESTING=OFF
```In CLion they are added in menu File/Settings... /Builds, Execution.../Cmake/Cmake options:
I also set:
in menu File/Settings... /Builds, Execution.../Cmake/Generating Paths:
```
..\cmake-nana-hello-build-debug
```this will call:
```
"C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../ -DNANA_CMAKE_NANA_FILESYSTEM_FORCE=OFF -DNANA_CMAKE_INSTALL_INCLUDES=OFF -DNANA_CMAKE_ENABLE_JPEG=ON -DNANA_CMAKE_ENABLE_PNG=ON -DJPEG_HAVE_BOOLEAN=ON -DNANA_CMAKE_AUTOMATIC_GUI_TESTING=OFF -G "CodeBlocks - MinGW Makefiles" C:\Prog\ExtLib\nana_helloworld
```and upon "install" will produce:
```
...
-- Build files have been written to: C:/Prog/ExtLib/cmake-nana-hello-build-debug
[ 97%] Built target nana
Scanning dependencies of target nana_helloworld
[ 98%] Building CXX object CMakeFiles/nana_helloworld.dir/helloworld_demo.cpp.obj
[100%] Linking CXX executable nana_helloworld.exe
[100%] Built target nana_helloworld
Install the project...
-- Install configuration: "Debug"
-- Installing: C:/Prog/ExtLib/bin/nana_helloworld/nana_helloworld.exeInstall finished
```