Echo Writes Code

CMakeLists.txt

1
2
3
4
5
6
7
8
9
10
11
12
# Special case for boot only: always STATIC because it's impossible to subsume main() 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/main.cpp
  source/crucible/boot/handlers.cpp)