mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-23 04:37:43 -05:00
Initial commit for integration tests. Experimental. Playing with potential syntax
This commit is contained in:
7
test/integration/tests/simple.rb
Normal file
7
test/integration/tests/simple.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
add_test('basic') { |prj|
|
||||
prj.set_body <<~CMAKE
|
||||
CPMAddPackage("gh:cpm-cmake/testpack-adder")
|
||||
add_executable(using-adder using-adder.cpp)
|
||||
target_link_libraries(using-adder PRIVATE adder)
|
||||
CMAKE
|
||||
}
|
||||
Reference in New Issue
Block a user