Updated build env
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
add_executable(triangle main.cpp)
|
||||
|
||||
target_link_libraries(triangle PRIVATE ${PROJECT_NAME})
|
||||
@@ -0,0 +1,9 @@
|
||||
#include <sophia/application.hpp>
|
||||
|
||||
int main() {
|
||||
sophia::Application app{{.width = 800, .height = 600, .name = "Triangle"}};
|
||||
|
||||
app.run();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user