prompt description
This commit is contained in:
3
prompts/1-2DSimple
Normal file
3
prompts/1-2DSimple
Normal file
@@ -0,0 +1,3 @@
|
||||
This is the start of a high performant c++ Wave Function Collapse repo for n-dimensions. To increase performance we want to avoid using a large memory footprint, virtual polymoprhism, etc.
|
||||
|
||||
For now we want to make it possible to use and test WFC with 2 dimensions, but later on we'll want to use 3D or even 4D. Please implement the algorithm with 2 dimensions for now. use the console for outputting tests.
|
||||
@@ -1,21 +1,20 @@
|
||||
set(SOURCES
|
||||
# Create interface library (header-only)
|
||||
add_library(nd-wfc INTERFACE)
|
||||
|
||||
)
|
||||
# Create main executable
|
||||
add_executable(nd-wfc-main main.cpp)
|
||||
|
||||
set(HEADERS
|
||||
|
||||
)
|
||||
|
||||
# Create library
|
||||
add_library(nd-wfc ${SOURCES} ${HEADERS})
|
||||
|
||||
# Include directories
|
||||
# Include directories for interface library
|
||||
target_include_directories(nd-wfc
|
||||
PUBLIC
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
|
||||
)
|
||||
|
||||
# Include directories for main executable
|
||||
target_include_directories(nd-wfc-main
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../include
|
||||
)
|
||||
|
||||
# Link external dependencies
|
||||
|
||||
Reference in New Issue
Block a user