Created
April 7, 2017 12:01
-
-
Save MightyPork/98d1dd211e45c10d7985a7a90f6b67bf to your computer and use it in GitHub Desktop.
Dummy CMake config for CLion to support https://github.com/MightyPork/esp-vt100-firmware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.7) | |
project(esp_vt100_firmware) | |
set(CMAKE_CXX_STANDARD GNU99) | |
set(SOURCE_FILES | |
include/uart_hw.h | |
include/user_config.h | |
user/io.c | |
user/io.h | |
user/cgi_ping.c | |
user/cgi_reset.c | |
user/uart_driver.c | |
user/uart_handler.c | |
user/ansi_parser.rl | |
user/ansi_parser.h | |
user/screen.c | |
user/user_main.c | |
user/serial.c | |
user/serial.h | |
user/routes.c | |
user/routes.h | |
user/cgi_main.c | |
user/cgi_main.h | |
user/cgi_sockets.c | |
user/cgi_sockets.c | |
user/cgi_sockets.h | |
user/ansi_parser_callbacks.c | |
user/ansi_parser_callbacks.h | |
user/user_main.h) | |
include_directories(include) | |
include_directories(user) | |
include_directories(libesphttpd/include) | |
include_directories(libesphttpd/espfs) | |
include_directories(libesphttpd/lib/heatshrink) | |
include_directories(/opt/Espressif/esp_iot_sdk_v1.5.2/include) | |
add_definitions( | |
-D__ets__ | |
-DICACHE_FLASH | |
-DHTTPD_MAX_CONNECTIONS=5 | |
-DHTTPD_STACKSIZE=1000 | |
-DICACHE_FLASH_ATTR="" | |
-DFLAG_GZIP=2 | |
-DESPFS_HEATSHRINK) | |
add_executable(esp_vt100_firmware ${SOURCE_FILES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment