Add app.rc for Windows Icon.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.18..3.30)
|
||||
cmake_minimum_required(VERSION 3.18..3.29)
|
||||
|
||||
project(FractalInspector
|
||||
VERSION 1.0
|
||||
VERSION 1.1
|
||||
LANGUAGES CXX)
|
||||
|
||||
if (PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
|
||||
@@ -35,14 +35,20 @@ CPMAddPackage(NAME JGL
|
||||
CPMAddPackage(NAME JUI
|
||||
URL https://git.redacted.cc/josh/ReJUI/archive/Prerelease-6.zip)
|
||||
|
||||
#file(COPY "assets" DESTINATION "${PROJECT_BINARY_DIR}")
|
||||
file(COPY "shaders" DESTINATION "${PROJECT_BINARY_DIR}")
|
||||
#file(GLOB_RECURSE ASSETS "assets/")
|
||||
file(GLOB_RECURSE HEADERS "include/*.h" "include/*.hpp")
|
||||
file(GLOB_RECURSE SOURCES "src/*.c" "src/*.cpp")
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
|
||||
if (WIN32)
|
||||
add_executable(FractalInspector main.cpp ${SOURCES} app.rc)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
add_executable(FractalInspector main.cpp ${SOURCES})
|
||||
endif()
|
||||
|
||||
target_include_directories(FractalInspector PUBLIC ${Event_SOURCE_DIR}/include)
|
||||
target_include_directories(FractalInspector PUBLIC ${J3ML_SOURCE_DIR}/include)
|
||||
|
Reference in New Issue
Block a user