bare bones cmake & tiny warnings (#1)
* add cmakelist * fix 2 warnings * rename libs * add the multithreaded thing * combine libpng into render lib --------- Co-authored-by: gsds <51339266+Patoke@users.noreply.github.com>
This commit is contained in:
1 parent
44e6c12004
commit
576f038dd0
9 files changed
+151
-3
No files matched your search
@@ -0,0 +1,26 @@
|
||||
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
|
||||
|
||||
project(4JLibs.Windows.Input LANGUAGES CXX)
|
||||
|
||||
add_library(${PROJECT_NAME} STATIC
|
||||
4J_Input.cpp
|
||||
INP_ForceFeedback.cpp
|
||||
INP_Keyboard.cpp
|
||||
INP_Main.cpp
|
||||
INP_StringCheck.cpp
|
||||
LinkedList.cpp
|
||||
stdafx.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_precompile_headers(${PROJECT_NAME} PRIVATE
|
||||
stdafx.h
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
PREFIX ""
|
||||
OUTPUT_NAME "4J_Input"
|
||||
)
|
||||
Reference in new issue
Block a user