Last visit 14 hours ago

IscanderChe

IscanderChe

  • 0
  • 0

CMakeUsing variables declared in CMakeLists.txt inside C ++ files

Aug. 9, 2019, 6:09 p.m.

cpp, C++, cmake

I propose to consider the option of using variables declared in the CMakeLists.txt file in C ++ code.

To begin with, what is it for? For example, you want to specify the version of the program and some other auxiliary information that is set during the assembly of the program, but at the same time you want to use this information in your C ++ code? Is it possible to do this? For example, to make it look like the image shows.

Development diariesПроект iMpos. Часть 011. Просмотр наименований топлива. Экспорт результатов в xlsx файл.

Aug. 9, 2019, 9:16 a.m.

QTableWidget, Qt, xlsx, export

Просмотр наименований топлива.

После обработки запросов на получение наименований, формируем таблицу для отображения информации пользователю.

How to become an author?

Contribute to the evolution of the EVILEG community.

Learn how to become a site author.

Learn it
Donate

Good day, Dear Users!!!

I am Evgenii Legotckoi, developer of EVILEG. And it is my hobby project, which helps to learn programming another programmers and developers

If the site helped you, and you want also support the development of the site, than you can donate by following ways

PayPalYandex.Money
Timeweb

Let me recommend you the excellent hosting on which EVILEG is located.

For many years, Timeweb has been proving his stability.

For projects on Django I recommend VDS hosting

View Hosting Timeweb