forked from alexbarry/AlexGames
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal_env.cmake
28 lines (22 loc) · 1.01 KB
/
local_env.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# paths to where external dependencies are on your computer
# I've changed this project to simply download its dependencies
# so that you may not even need to do anything here.
# I do this so I can build from WSL or windows command line.
# It is fine to omit the "IF" entirely and just specify a single
# value for each variable
if(WIN32)
#set(LUA_SRC_DIR C:/misc/lua_build/lua-5.4.3/src)
# Uhh so all of this works fine on my linux desktop, I guess CMake is able to find it?
# And trying to overwrite these variables must do nothing?
# SET(wxWidgets_ROOT_DIR 'C:/misc/wx_test')
#SET(wxWidgets_ROOT_DIR C:/misc/wx_test/)
#SET(wxWidgets_LIB_DIR C:/misc/wx_test/lib/vc_lib)
# I might have needed these when I built using visual studio
# instead of msbuild, but I'm not sure
#SET(wxWidgets_LIBRARIES C:/misc/wx_test/lib)
#SET(wxWidgets_INCLUDE_DIRS C:/misc/wx_text/)
# SET(wxWidgets_ROOT_DIR 'C:\\misc\\wx_test\\build\\vc_mswud')
set(wxWidgets_CONFIGURATION mswud)
else()
#set(LUA_SRC_DIR "/home/alex/repo/lua/lua-5.4.3/src")
endif()