Skip to content

Commit eaebd98

Browse files
committed
[CMakeLists] update with cppadcg example
1 parent a576fe3 commit eaebd98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

example/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
ADD_PYTHON_UNIT_TEST("add_eq" "example/add_eq.py" "python")
2-
ADD_PYTHON_UNIT_TEST("cppad_type" "example/cppad_type.py" "python")
2+
IF(BUILD_WITH_CPPAD_CODEGEN_BINDINGS)
3+
ADD_PYTHON_UNIT_TEST("cppadcg_c_codegen" "example/cppadcg_c_codegen.py" "python")
4+
ENDIF(BUILD_WITH_CPPAD_CODEGEN_BINDINGS)

0 commit comments

Comments
 (0)