mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-08 17:57:02 +08:00
19 lines
431 B
C++
19 lines
431 B
C++
#include "Cubed/app.hpp"
|
|
|
|
#ifdef _WIN32
|
|
|
|
extern "C" {
|
|
__declspec(dllexport) unsigned long NvOptimusEnablement = 1; // NOLINT
|
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; // NOLINT
|
|
}
|
|
|
|
#endif
|
|
|
|
int main(int argc, char** argv) {
|
|
|
|
static_assert(sizeof(int) == sizeof(int32_t));
|
|
static_assert(sizeof(unsigned int) == sizeof(uint32_t));
|
|
|
|
return Cubed::App::start_cubed_application(argc, argv);
|
|
}
|