Echo Writes Code

CMakeLists.txt

1
2
3
4
5
6
7
8
9
10
11
# Special case for boot only: STATIC because it's impossible to subsume main() et al from a DLL
crucible_add_library(crucible-boot STATIC)

target_include_directories(crucible-boot PUBLIC
  "${CMAKE_CURRENT_SOURCE_DIR}/include")

target_link_libraries(crucible-boot PUBLIC
  crucible-core)

target_sources(crucible-boot PRIVATE
  source/crucible/boot/default/main.cpp)