getting_started:say_hello
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
getting_started:say_hello [2019/10/22 10:09] – [Create a New Project] graf | getting_started:say_hello [2021/02/10 19:49] – [Test Program] ursgraf | ||
---|---|---|---|
Line 14: | Line 14: | ||
- Choose Standard/ | - Choose Standard/ | ||
- Create the project by clicking Finish | - Create the project by clicking Finish | ||
- | - Create the build configuration. It is recommended to put the target architecture in the name of the build folder. Put the location where EEROS is installed in the " | + | - Create the build configuration. It is recommended to put the target architecture in the name of the build folder. Put the location where EEROS is installed in the " |
===== Test Program ===== | ===== Test Program ===== | ||
Line 25: | Line 25: | ||
using namespace eeros:: | using namespace eeros:: | ||
- | | + | |
- | Logger log; | + | Logger log = Logger:: |
- | log.set(w); | + | |
log.info() << " | log.info() << " | ||
Line 41: | Line 40: | ||
find_package(EEROS REQUIRED) | find_package(EEROS REQUIRED) | ||
- | include_directories(${EEROS_INCLUDE_DIR}; | + | include_directories(${EEROS_INCLUDE_DIR}) |
- | link_directories(${EEROS_LIB_DIR}; | + | link_directories(${EEROS_LIB_DIR}) |
add_executable(helloworld main.cpp) | add_executable(helloworld main.cpp) | ||
Line 58: | Line 57: | ||
{{ : | {{ : | ||
- | ===== Use KDevelop with Existing Build Configuration ===== | + | |
- | If you have previously built your application manually or with the aid of the [[getting_started: | + | |
- | - Import the project by choosing the '' | + | |
- | - Right click on the project and open the project configuration panel. | + | |
- | - Choose the build directory of the previously built application as your build directory | + | |
- | - Leave the entries for install directory, build type, and extra arguments empty. These settings will be fetched from the existing CMake configuration in your build directory. | + | |
- | - Click '' | + | |
- | - Build | + |