Commit 8ae384c4 authored by nagayama15's avatar nagayama15

Add the test target.

parent a5c2ac0b
BasedOnStyle: LLVM BasedOnStyle: LLVM
IndentWidth: 4 IndentWidth: 4
AccessModifierOffset: -4
NamespaceIndentation: All NamespaceIndentation: All
AlwaysBreakTemplateDeclarations: true
AllowShortFunctionsOnASingleLine: Empty
BreakConstructorInitializersBeforeComma: true
ColumnLimit: 120
BinPackParameters: false
BinPackArguments: false
...@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.0) ...@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.0)
project(wasm-watermarker VERSION 0.1.0 LANGUAGES CXX) project(wasm-watermarker VERSION 0.1.0 LANGUAGES CXX)
set(CMAKE_CXX_FLAGS "-std=c++17 -Wall -Wextra -Werror -pedantic") set(CMAKE_CXX_FLAGS "-std=c++2a -Wall -Wextra -Werror -pedantic -fconcepts")
set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 -pg") set(CMAKE_CXX_FLAGS_DEBUG "-g3 -O0 -pg")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -march=native") set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -march=native")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g3 -Og -pg") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g3 -Og -pg")
...@@ -15,4 +15,9 @@ endif (NOT CMAKE_BUILD_TYPE) ...@@ -15,4 +15,9 @@ endif (NOT CMAKE_BUILD_TYPE)
include(ExternalProject) include(ExternalProject)
include(cmake/binaryen.cmake) include(cmake/binaryen.cmake)
include_directories(
src
)
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(test)
add_executable(kyut_test
test.cpp
)
int main() {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment