mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-21 14:55:01 -04:00
Switched over to cmake. Everything now works in one command.
This commit is contained in:
parent
b3985e7306
commit
17c3bb1145
20 changed files with 179 additions and 203 deletions
19
Tools/FARDive/CMakeLists.txt
Normal file
19
Tools/FARDive/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
project(FARDive)
|
||||
|
||||
if(WIN32)
|
||||
set(FARDIVE_SOURCES
|
||||
windows/common.cpp
|
||||
windows/Interaction.cpp
|
||||
windows/MainWindow.cpp
|
||||
windows/ReadPNGIcon.cpp
|
||||
windows/Resource.rc
|
||||
windows/Startup.cpp
|
||||
windows/Dialog/AddToArchive.cpp
|
||||
windows/Dialog/NewArchive.cpp
|
||||
)
|
||||
set(FARDIVE_LINK -mwindows ole32 uxtheme)
|
||||
endif()
|
||||
|
||||
add_executable(FARDive ${FARDIVE_SOURCES})
|
||||
target_link_libraries(FARDive ${FARDIVE_LINK} libpng_shared)
|
Loading…
Add table
Add a link
Reference in a new issue