Properly link flecs library
This commit is contained in:
13
engine/libs/flecs/templates/cpp/flecs/src/main.cpp
Normal file
13
engine/libs/flecs/templates/cpp/flecs/src/main.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <${id underscore}.h>
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
flecs::world world(argc, argv);
|
||||
|
||||
world.set_target_fps(1);
|
||||
|
||||
std::cout << "Application ${id} is running, press CTRL-C to exit..." << std::endl;
|
||||
|
||||
/* Run systems */
|
||||
while (world.progress()) { }
|
||||
}
|
||||
Reference in New Issue
Block a user