Add base game
This commit is contained in:
40
cpp-console-game/CMakeLists.txt
Normal file
40
cpp-console-game/CMakeLists.txt
Normal file
@ -0,0 +1,40 @@
|
||||
add_library(
|
||||
Board
|
||||
Board.hpp
|
||||
Board.cpp
|
||||
)
|
||||
|
||||
add_library(
|
||||
GameState
|
||||
GameState.hpp
|
||||
GameState.cpp
|
||||
)
|
||||
|
||||
add_library(
|
||||
Player
|
||||
Player.hpp
|
||||
Player.cpp
|
||||
)
|
||||
|
||||
add_executable(
|
||||
cpp-console-game
|
||||
main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
cpp-console-game PRIVATE
|
||||
GameState
|
||||
conio
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
GameState PRIVATE
|
||||
Board
|
||||
Player
|
||||
RandomUtils
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
Player PRIVATE
|
||||
RandomUtils
|
||||
)
|
Reference in New Issue
Block a user