Caricamento v0.2
This commit is contained in:
+11
-3
@@ -12,12 +12,20 @@ FetchContent_Declare(SFML
|
||||
SYSTEM)
|
||||
FetchContent_MakeAvailable(SFML)
|
||||
|
||||
FetchContent_Declare(
|
||||
glm
|
||||
GIT_REPOSITORY https://github.com/g-truc/glm.git
|
||||
GIT_TAG 0af55ccecd98d4e5a8d1fad7de25ba429d60e863 #refs/tags/1.0.1
|
||||
)
|
||||
FetchContent_MakeAvailable(glm)
|
||||
|
||||
|
||||
set(METHODS_PATH "./src/*/methods/*.cpp")
|
||||
|
||||
#V1
|
||||
set(VERSION "V1")
|
||||
|
||||
set(VERSION "V2")
|
||||
|
||||
file(GLOB_RECURSE METHODS_SRC "${METHODS_PATH}")
|
||||
add_executable(main${VERSION} ./src/testMain.cpp ${METHODS_SRC} )
|
||||
target_compile_features(main${VERSION} PRIVATE cxx_std_17)
|
||||
target_link_libraries(main${VERSION} PRIVATE SFML::Graphics)
|
||||
target_link_libraries(main${VERSION} PRIVATE SFML::Graphics glm)
|
||||
|
||||
Reference in New Issue
Block a user