Skip to content

Commit

Permalink
removing Camel Case
Browse files Browse the repository at this point in the history
  • Loading branch information
ebertolazzi committed Feb 1, 2022
1 parent 0cda57a commit f4a637f
Show file tree
Hide file tree
Showing 134 changed files with 7,450 additions and 4,643 deletions.
62 changes: 37 additions & 25 deletions cmake/CMakeLists-cflags.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,42 @@

SET( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE )
SET( CMAKE_VERBOSE_MAKEFILE TRUE )

# /Gd Uses the __cdecl calling convention (x86 only).
# /Gr Uses the __fastcall calling convention (x86 only).
# /Gv Uses the __vectorcall calling convention. (x86 and x64 only)
# /Gz Uses the __stdcall calling convention (x86 only).

set( CXX_WARN "-Wall -Wno-float-equal -Wno-padded -Wno-comment ")
set( CLANG_WARN "-Weverything -Wno-alloca -Wno-cast-align -Wno-cast-qual -Wno-conversion -Wno-c++2a-compat -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-format-nonliteral -Wno-implicit-fallthrough -Wno-documentation -Wno-float-equal -Wno-padded -Wno-reserved-id-macro -Wno-unreachable-code-break -Wno-unused-macros -Wno-switch-enum -Wno-sign-conversion -Wno-signed-enum-bitfield -Wno-weak-vtables -Wno-documentation-unknown-command -Wno-missing-noreturn")
set( VS_WARN "")

message( STATUS "Compiler used: ${CMAKE_CXX_COMPILER_ID}")

if ( CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
set( CMAKE_CXX_FLAGS "-std=c++11 ${CXX_WARN}" )
set( CMAKE_CXX_FLAGS_RELEASE "-fPIC -fopenmp -O2 -g -floop-interchange -floop-block -funroll-loops " )
set( CMAKE_CXX_FLAGS_DEBUG "-fPIC -fopenmp -O0 -ggdb -DMECHATRONIX_DEBUG -DDEBUG " )
elseif ( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
set( CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ ${CLANG_WARN}" )
set( CMAKE_CXX_FLAGS_RELEASE "-fPIC -Os -g -finline-functions -finline-hint-functions -funroll-loops -fcolor-diagnostics " )
set( CMAKE_CXX_FLAGS_DEBUG "-fPIC -O0 -gfull -fcolor-diagnostics -DMECHATRONIX_DEBUG -DDEBUG " )
elseif( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
set( CMAKE_CXX_FLAGS " ${VS_WARN}" )
set( CMAKE_CXX_FLAGS_RELEASE "/nologo /GS /W3 /WX- /EHsc /bigobj /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS /DHAVE_STRING_H /DNO_GETTIMEOFDAY /DYAML_DECLARE_STATIC /DPCRE_STATIC /O2 /MD " )
set( CMAKE_CXX_FLAGS_DEBUG "/nologo /GS /W3 /WX- /EHsc /bigobj /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS /DHAVE_STRING_H /DNO_GETTIMEOFDAY /DYAML_DECLARE_STATIC /DPCRE_STATIC /Od /Ob0 /MDd /RTC1 /guard:cf /Zi /D_DEBUG /DMECHATRONIX_DEBUG " )
else()
message( FATAL_ERROR "Unsupported compiler: ${CMAKE_CXX_COMPILER_ID}")
endif()

set( CMAKE_C_FLAGS "" )
set( CMAKE_C_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} )
set( CMAKE_C_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} )
SET( CXX_WARN "-Wall -Wno-float-equal -Wno-padded -Wno-comment ")
SET( CLANG_WARN "-Weverything -Wno-alloca -Wno-cast-align -Wno-cast-qual -Wno-conversion -Wno-c++2a-compat -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-format-nonliteral -Wno-implicit-fallthrough -Wno-documentation -Wno-float-equal -Wno-padded -Wno-reserved-id-macro -Wno-unreachable-code-break -Wno-unused-macros -Wno-switch-enum -Wno-sign-conversion -Wno-signed-enum-bitfield -Wno-weak-vtables ")
SET( VS_WARN "")

IF( CMAKE_CXX_COMPILER_ID MATCHES "GNU" )
SET( CMAKE_CXX_FLAGS "-std=c++11 ${CXX_WARN}" )
SET( CMAKE_CXX_FLAGS_RELEASE "-fPIC -fopenmp -O2 -g -floop-interchange -floop-block -funroll-loops " )
SET( CMAKE_CXX_FLAGS_DEBUG "-fPIC -fopenmp -O0 -ggdb -DMECHATRONIX_DEBUG -DDEBUG " )
ELSEIF( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
SET( CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ ${CLANG_WARN}" )
SET( CMAKE_CXX_FLAGS_RELEASE "-fPIC -Os -g -finline-functions -finline-hint-functions -funroll-loops -fcolor-diagnostics " )
SET( CMAKE_CXX_FLAGS_DEBUG "-fPIC -O0 -gfull -fcolor-diagnostics -DMECHATRONIX_DEBUG -DDEBUG " )
ELSEIF( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
SET( CMAKE_CXX_FLAGS " ${VS_WARN}" )
SET( CMAKE_CXX_FLAGS_RELEASE "/nologo /GS /W3 /WX- /EHsc /bigobj /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS /DHAVE_STRING_H /DNO_GETTIMEOFDAY /DYAML_DECLARE_STATIC /DPCRE_STATIC /O2 /MD " )
SET( CMAKE_CXX_FLAGS_DEBUG "/nologo /GS /W3 /WX- /EHsc /bigobj /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS /DHAVE_STRING_H /DNO_GETTIMEOFDAY /DYAML_DECLARE_STATIC /DPCRE_STATIC /Od /Ob0 /MDd /RTC1 /guard:cf /Zi /D_DEBUG /DMECHATRONIX_DEBUG " )
ELSE()
MESSAGE( FATAL_ERROR "Unsupported compiler ${CMAKE_CXX_COMPILER_ID}")
ENDIF()

MESSAGE( STATUS "Compiler used: ${CMAKE_CXX_COMPILER_ID}")

SET( CMAKE_C_FLAGS "" )
SET( CMAKE_C_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} )
SET( CMAKE_C_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} )

# select LAPACK library to be used
SET( PINS_USE_ACCELERATE true )

# check if link against static libgcc
SET( PINS_USE_STATIC_LIBGCC false )

SET( PINS_ON_RASPBERRY false )
38 changes: 33 additions & 5 deletions docs/Matlab_manual.html

Large diffs are not rendered by default.

84 changes: 42 additions & 42 deletions docs/api-cpp/class_a00131.html

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions docs/api-cpp/class_a00135.html

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docs/api-cpp/class_a00139.html

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions docs/api-cpp/class_a00143.html

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions docs/api-cpp/class_a00147.html

Large diffs are not rendered by default.

54 changes: 34 additions & 20 deletions docs/api-cpp/class_a00163.html

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions docs/api-cpp/class_a00167.html

Large diffs are not rendered by default.

84 changes: 42 additions & 42 deletions docs/api-cpp/class_a00179.html

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docs/api-cpp/class_a00183.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api-cpp/file_Fresnel.cc.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ <h2>Namespaces<a class="headerlink" href="#namespaces" title="Permalink to this
<h2>Functions<a class="headerlink" href="#functions" title="Permalink to this headline"></a>
</h2>
<ul class="simple">
<li><p><a class="reference internal" href="function_a00119_1a4d0a558dc1e34cf736febb3c4de4c662.html#exhale-function-a00119-1a4d0a558dc1e34cf736febb3c4de4c662"><span class="std std-ref">Function G2lib::FresnelCS(int_type, real_type, real_type *, real_type *)</span></a></p></li>
<li><p><a class="reference internal" href="function_a00119_1aee78c857e298d1605987e48534793843.html#exhale-function-a00119-1aee78c857e298d1605987e48534793843"><span class="std std-ref">Function G2lib::FresnelCS(real_type, real_type&amp;, real_type&amp;)</span></a></p></li>
<li><p><a class="reference internal" href="function_a00119_1a4d0a558dc1e34cf736febb3c4de4c662.html#exhale-function-a00119-1a4d0a558dc1e34cf736febb3c4de4c662"><span class="std std-ref">Function G2lib::FresnelCS(int_type, real_type, real_type *, real_type *)</span></a></p></li>
<li><p><a class="reference internal" href="function_a00119_1a675e182a0894c0adb4295c034d155bb1.html#exhale-function-a00119-1a675e182a0894c0adb4295c034d155bb1"><span class="std std-ref">Function G2lib::GeneralizedFresnelCS(int_type, real_type, real_type, real_type, real_type *, real_type *)</span></a></p></li>
<li><p><a class="reference internal" href="function_a00119_1a67f7c38f4ad0d8256c2f4d0f92501bf2.html#exhale-function-a00119-1a67f7c38f4ad0d8256c2f4d0f92501bf2"><span class="std std-ref">Function G2lib::GeneralizedFresnelCS(real_type, real_type, real_type, real_type&amp;, real_type&amp;)</span></a></p></li>
</ul>
Expand Down
Loading

0 comments on commit f4a637f

Please sign in to comment.