Skip to content

Commit

Permalink
impl lab0-start-code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jieway committed Feb 2, 2024
1 parent 443a578 commit ded7305
Show file tree
Hide file tree
Showing 175 changed files with 22,802 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "third_party/googletest"]
path = third_party/googletest
url = https://github.com/google/googletest.git
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/cemu.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions .idea/editor.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cmake_minimum_required(VERSION 3.27)
project(cemu)

set(CMAKE_CXX_STANDARD 23)

add_executable(cemu main.cpp)

enable_testing()
add_subdirectory("third_party/googletest")

add_executable(
g_test
g_test.cc
)

target_link_libraries(
g_test
GTest::gtest_main
)

include(GoogleTest)
gtest_discover_tests(g_test)
Loading

0 comments on commit ded7305

Please sign in to comment.