-
Notifications
You must be signed in to change notification settings - Fork 950
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularize dependencies of the "amazons" game
- Loading branch information
1 parent
8859b79
commit 2196524
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
add_library(amazons OBJECT) | ||
target_sources(amazons PRIVATE amazons.cc amazons.h) | ||
target_link_libraries(amazons PRIVATE open_spiel_core) | ||
|
||
add_executable(amazons_test amazons_test.cc) | ||
target_link_libraries(amazons_test PRIVATE amazons open_spiel_core tests) | ||
add_test(amazons_test amazons_test) |