
Uses CXXFLAGS env variable instead of CMAKE_CXX_FLAGS because that would clear platform-specific default flags on Windows.
5 lines
113 B
Python
5 lines
113 B
Python
import cmake_example as m
|
|
|
|
assert m.__version__ == '0.0.1'
|
|
assert m.add(1, 2) == 3
|
|
assert m.subtract(1, 2) == -1
|