Skip to content

Commit

Permalink
Merge pull request #71 from Fujitsu-UTokyo-QDD/fix/gtest_cmake
Browse files Browse the repository at this point in the history
Update CMakeLists.txt for gtest
  • Loading branch information
kkyusuke authored Nov 4, 2024
2 parents 9d5aa96 + 1826fb9 commit 934d0ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using duration_micro = std::chrono::duration<double, std::micro>;
const std::size_t NQUBITS = 100;
const std::size_t NBUCKETS = 524288;
const std::size_t INITIAL_ALLOCATION_SIZE = 1024*2;
const std::size_t INITIAL_ALLOCATION_SIZE_CACHE = 1024*1024*8;
const std::size_t INITIAL_ALLOCATION_SIZE_CACHE = 1024*8;
const std::size_t GROWTH_FACTOR = 2;

using Qubit = int32_t;
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set(CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE PRE_TEST)
add_executable(qdd_test test.cpp test_performance.cpp)
target_link_libraries(qdd_test PUBLIC engine PUBLIC GTest::gtest_main)
target_include_directories(qdd_test PRIVATE ${PROJECT_SOURCE_DIR}/lib/eigen-3.4.0 ${PROJECT_SOURCE_DIR}/lib/eigen-3.4.0/unsupported)
Expand Down

0 comments on commit 934d0ab

Please sign in to comment.