Initial Commit

* A simple C-Make project setup
* A lot of warnings enabled and warnings as errors
* unit test discovery with google test

In progress functionality
- sanitizers
- static analysis
This commit is contained in:
McMassiveNZ
2022-12-02 19:41:20 +01:00
parent e43ffb5497
commit 5b45b04454
11 changed files with 260 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
include_guard()
function( target_precompiled_header _target _header _source )
if( MSVC )
set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS "/Yu${_header}" )
set_source_files_properties( ${_source} PROPERTIES COMPILE_FLAGS "/Yc${_header}" )
endif()
endfunction()