simple_allocator

A simple, poorly-performing memory allocator
git clone https://git.bracken.jp/simple_allocator.git
Log | Files | Refs | Submodules | README | LICENSE

CMakeLists.txt (283B)


      1 add_definitions(-std=c17)
      2 
      3 set(CXX_FLAGS
      4   "-Wall"
      5   "-Wno-c++98-compat"
      6   "-Wno-deprecated-declarations"
      7   "-Wno-padded"
      8 )
      9 
     10 set(CXX_TEST_FLAGS
     11   ${CXX_FLAGS}
     12   "-Wno-global-constructors"
     13 )
     14 
     15 add_executable(main
     16   main.c
     17   memory.c
     18 )
     19 target_compile_options(main PRIVATE ${CXX_FLAGS})