Skip to content

Commit

Permalink
add rgb color input to cmakelists 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Oct 19, 2023
1 parent d1e8799 commit cf36d8f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ file(GLOB SOURCES
src/features/BetterScaling/*.cpp
src/features/StartPosSwitcher/*.cpp
src/features/OffsetNextFree/*.cpp
src/features/RGBColorInput/*.cpp
src/features/*.cpp
src/other/*.cpp
src/*.cpp
)

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
endif()

# Set up the mod binary
add_library(${PROJECT_NAME} SHARED ${SOURCES})
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
Expand All @@ -34,6 +39,7 @@ add_subdirectory($ENV{GEODE_SDK} $ENV{GEODE_SDK}/build)

setup_geode_mod(${PROJECT_NAME} EXTERNALS be_team.editorapi:1.0.0)


# Build EditorAPI alongside BetterEdit
add_subdirectory(api)
target_link_libraries(${PROJECT_NAME} EditorAPI)
Expand Down

0 comments on commit cf36d8f

Please sign in to comment.