Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jul 29, 2023
1 parent 7793516 commit 5533cab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/fetchcontent-integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ add_executable(main main.cpp)

set(LIBASSERT_TAG "" CACHE STRING "libassert git tag")

if(WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
endif()

include(FetchContent)
FetchContent_Declare(
assert
Expand Down
3 changes: 3 additions & 0 deletions tests/fetchcontent-integration/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#include <assert.hpp>

#include <iostream>

int main() {
VERIFY(true);
ASSUME(true);
ASSERT(true);
std::cout<<"Good to go"<<std::endl;
}
3 changes: 3 additions & 0 deletions tests/findpackage-integration/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#include <assert.hpp>

#include <iostream>

int main() {
VERIFY(true);
ASSUME(true);
ASSERT(true);
std::cout<<"Good to go"<<std::endl;
}

0 comments on commit 5533cab

Please sign in to comment.