CMake, C++11 and more

8 views
Skip to first unread message

Juan Jose Garcia-Ripoll

unread,
Jan 13, 2022, 12:36:56 PM1/13/22
to libt...@googlegroups.com
Hi,

Just to report progress, working with Ulf Lorenz we have completed a branch with a full CMake build system that works on Windows and Unix systems. I also have migrated the settings to enforce C++11 or better, and added compiler flags to report useful warnings that I will be fixing in the coming days.

Since this seems to be working fine I will soon merge these changes into the master branch, producing a release. 

I expect that the migration to C++11 will give rise to some incompatibilities, as I change the code to make use of std::complex everywhere vs. custom complex types in some platforms, migrate to std::shared_ptr, redefine tensor::index and enable exceptions instead of assert.

In the coming weeks I also plan to make more extensive use of templates to introduce some changes in indexing, and enable some optimizations. But this will probably happen in a second round of changes.

Best wishes,

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain) 
http://juanjose.garciaripoll.googlepages.com
Reply all
Reply to author
Forward
0 new messages