Headers cleaned. [CMakeLists.txt] Now using -O3 and -ffast-math.

This commit is contained in:
Quentin Bazin 2018-06-14 03:19:35 +02:00
parent 4c3fe96ca4
commit e56a6b7d2f
22 changed files with 22 additions and 82 deletions

View File

@ -28,7 +28,7 @@ add_executable(${CMAKE_PROJECT_NAME} ${SOURCE_FILES})
#------------------------------------------------------------------------------
# Compiler flags
#------------------------------------------------------------------------------
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -g -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE -O3 -ffast-math -g -Wall -Wextra -Wfatal-errors -Wno-variadic-macros)
target_compile_features(${CMAKE_PROJECT_NAME} PRIVATE cxx_std_17)
#------------------------------------------------------------------------------

2
TODO
View File

@ -3,7 +3,7 @@ TODO
# Nettoyage
• TODO: Vérifier les utilisations inutiles de pointeurs
TODO: Nettoyer les vieux headers
• DONE: Nettoyer les vieux headers
• TODO: `Types.hpp` → `IntTypes.hpp`
• TODO: Remplacer les anciennes classes par leur upgrade:
◦ DONE: `ApplicationState` / `ApplicationStateStack`

View File

@ -7,7 +7,7 @@
*
* Created: 14/12/2014 13:45:14
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 20/12/2014 00:52:04
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 20/12/2014 01:18:31
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 25/12/2014 23:43:07
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 15/12/2014 04:18:34
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -7,7 +7,7 @@
*
* Created: 15/12/2014 16:30:20
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 20/12/2014 01:15:27
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 15/12/2014 17:09:58
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 14/12/2014 05:02:30
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 14/12/2014 05:02:53
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -7,7 +7,7 @@
*
* Created: 14/12/2014 13:42:17
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 14/12/2014 05:05:33
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -7,7 +7,7 @@
*
* Created: 29/12/2014 04:56:02
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 20/12/2014 00:52:10
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 25/12/2014 23:43:18
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 15/12/2014 16:30:34
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 20/12/2014 01:15:43
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 15/12/2014 17:10:16
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -5,13 +5,9 @@
*
* Description:
*
* Version: 1.0
* Created: 13/12/2014 20:49:00
* Revision: none
* Compiler: gcc
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Company:
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/

View File

@ -7,7 +7,7 @@
*
* Created: 14/12/2014 13:42:26
*
* Author: Quentin BAZIN, <quent42340@gmail.com>
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/